|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
XR82C684 FEATURES !"# $ % %& ' % '( %( )** '(% %(% + , )(% ( -. ( ( ' % +( ' /001 /.0 1 $ )( 2 % 3( 44 )( % $ )( '( * ' %( '( 5" '6 ((& "( )( 7 8 ' '6 -%# .8 ' '6 9 6-% : # 5;# < ' <+)= <+)= % 3 (* '( .( -(% $ 3( (" %6 $ (( % $ >' '6 3, + , $ !(%& ( ? ( & . 2 + % ( % . 2 + % $ ( % 3( , * % !' % 0 $ % ( ( 3( 09 :( )( '( %'( * &% & ' ( , + 3 ' < 3 + 3 ' ,& GENERAL DESCRIPTION 58 (% %& ' % '( %( (% ' ('( % (' (% * *& ( *" %& ' % ' ('( ' % ( %( , '6, (% %(, * % ( (' '%% % %&%% & % ( ( ( ( 80.0@ (' **% %( , $ % ( * ( % (' '%% *((% /001 /.0 %1 * 00 .0 *(& * '%% %# %'(& ' %' & &( , 5< ( >!! > (% *(' %( , ' 3 & # 3( (, * ' %(& 5+$- 0* '%% ( (, * ' 3 3 ' %( # (% '6, ( @@ ( +< .0 ( +< ORDERING INFORMATION Part No. 80.0@A-@@ 80.0@A 80.0@A-@@ 80.0@A Package @@ ( +< .0 ( +< @@ ( +< .0 ( +< Operating Temperature Range B B @ 09 @ 09 XR82C684 PRINCIPLES OF OPERATION Figure 1 Figure 2 % '6 (, * 3 ( , ( .0 00 %# %'(& % (% ( % '6 (,%# ' %(%% * * 3( , C * '( '6%7 ! )% )** $ $ + ( ('( % # )# # ! ( (( , + 8! 8! 8!) 8!) 8! 8! 8!! 8!! $+ $+B $+0 $+9 + +B +0 +9 $+ $+ + + ; ; ; ; ; ; ; ; , * !' % $+ $+ + '( ' < ,(' ,(%% % ,(% ,(%% % ,(% ) ,(%% % ,(% ,(%% % ,(% ! + + $ + % + % $ ! )% ( )% )** !' %% !' ) ! $ $> $ $ $ $> $ $ $ (( , ) ! )( 2 -( D -( D %'( ! !B 9 E: : !=: 55: $=: $:: 8-<= 8 Figure 1. Block Diagram of the XR82C684 in the 68 Mode XR82C684 8! 8! 8!) 8!) 8! 8! 8!! 8!! $+ $+B $+0 $+9 + +B +0 +9 $+ $+ + + ; ; ; ; ; ; ; ; , * !' % $+ $+ + '( ' < ,(' ,(%% % ,(% ,(%% ,(%% ,(%% % ,(% ! + + % ,(% ) % ,(% $ + % + % $ ! )% ( )% )** !' %% !' ) ! $ $> $ $ $ $> $ $ $ (( , ) ! )( 2 -( D -( D %'( ! !B @ !: E: 5: 55 $5$ $5 $=: $:: 8-<= 8 Figure 2. Block Diagram of the XR82C684 in the 88 Mode 4 XR82C684 +9 +. +B ! ! ! !4 !@ !9 !. !B E: 5: +9 +@ +4 + 8!! !@ !9 !. !B -E: 5: 8!! $5 $=: $:: ! ! ! !4 8 8-<= 8!) 44 Pin PLCC 68 Pin PLCC @ 8! $5$ $+9 $+@ !: $+4 $+ $+) $+) 4 @ 9 $+0 $+! $+ $+ $5$ 8!) +4 5< > 55 +) + 8! 8!! 8!! $5 $=: $:: + 2:! 2:! + +! +0 8! 8! $+9 $+@ $+4 $+ + 2:! +! +0) 8! 4 @ 9 $+0 $+! +4 8 8-<= 8!) 8!) +4 + 5< > > 55 +) + 8! 8! $+B $+. 8! !: $+) $+ XR82C684 PIN DESCRIPTION Pin # 68 Pin PLCC Pin # 44 Pin PLCC Symbol > 5< $ Type Power Supply Pin. Mode Select. /00 1 ' %' & &( , (% ( 2:!. ' '( , (% ( > 3( %' /.0 1 Output Port 2 (General Purpose Output). (% ( ' % ' *(, * '( % / %( ." " ' '61 # / '( 8 ' '61 Output 3 (Active low). , % , % # / ) %( " ' '61 # / ) '( " ' '61 # ( / -( &1 Transmitter Serial Data Output (Channel B). % %(, (*(' ( * '' (% %( *(% (% (% ( /(,1 6( , % 3 %( (% (# (%# 3 ' (% ( , ( ' <+)= $* " %( ' '6 (% %'(*(# 8)# %( (% %(* * %( (* ,(% *( , , * (% ' '6 Receiver Serial Data Input (Channel B). % %(, (*(' ( * '' (% '( *(% $* " '( ' '6# 8)# (% %'(*(# %( ( (% % (%( , , * (% ' '6 Crystal Output or External Clock Input. (% ( (% ' '( * %( * '&% ''( , 3 ( %'( (% % $* %'( (% %# " ' '6 %(, % %( (% ( $ * 80.0@ (' * '( % % %& %(, 3( *I '(% 3 ;J 0 ;J (% I( ' & ( '&% %'( & " <' ( ' '6 %(, 0 . 8 $ Crystal Input. '( * %( * '&% %( * 8-<= $* %'( (% %# ''( % % ' ' * (% ( , (% ( % * (* " ' '6 (% % ( 8-<= ( Output 4 (General Purpose Output). (% ( ' % ' *(, * '( % '( 3 /'(&-$ 1 ( (' * 8!H- < ' *(, * '( % '( 3 /'( &-$ 1 ( (' * ) 8!H- < + 8G.8 8G8 8G8 @ +4 8)G8 8)G8 -GG!H 9 4 8!) . @ 8!) $ B 9 8-<= $ +@ 8!H < XR82C684 Pin # 68 Pin PLCC Pin # 44 Pin PLCC Symbol +. 8!HG Type Description Output 6 (General Purpose Output). (% ( ' ' *(, * '( % '( 3 / %(&1 ( (' * 8!HG Output 7 (General Purpose Output). (% ( ' ' *(, * '( % '( 3 / % (&1 ( (' * ) 8!HG) LSB of the Eight Bit Bi-Directional Data Bus. %*% 3 + 6 ' (% % ' %(%( , * ( % ! !B % (% (% 3 ( (% /(,1# "' ( , $= '&' ( ? Bi-Directional Data Bus. Bi-Directional Data Bus. Bi-Directional Data Bus. Bi-Directional Data Bus. Bi-Directional Data Bus. Bi-Directional Data Bus. MSB of the Eight Bit Bi-Directional Data Bus. %*% 3 + 6 ' (% % ' %(%( , * ( % ! !B % (% (% 3 ( (% /(,1# "' ( , $= '&' ( ? Read/-Write (Input). $* (% ( (% (, 3( (% 3# + (% * ( , 5! '&' 3( $* (% ( (% 3# 3( (% 3# + (% * ( , E$5 '&' 3( Write Strobe (Active Low). / 31 (% ( 3( (% % / 31 3(% ' % * ! )% ( %% ,(%# 3(( %* ''% (%( , , * E Chip Select (Active Low). % (% (% 3 (% (, ! %*% 3 + ( ! !B 3 (% 3 Output 15 (General Purpose Output). (% ( ' ' *(, * '( % ( # '( 3 / %( &1 ( (' * ! 8!HG! Output 14 (General Purpose Output). (% ( ' ' *(, * '( % ( '( 3 / %( &1 ( (' * 8!HG Output 13 (General Purpose Output). (% ( ' ' *(, * '( % ( # '( 3 /'( &1 /$ 1 ( (' * ! 8!H- < ' *(, * '( % ( # '( 3 /'( &1 /$ 1 ( (' * 8!H- < 4 B ! $- @ 9 . B 0 0 4 @ ! ! !4 !@ !9 !. !B $- $- $- $- $- $- $- 9 -E .0 $ 9 E: 00 $ . $ 4 +9 8!HG! @ +@ 8!HG 9 +4 8!H < . + 8!H < XR82C684 Pin # 68 Pin PLCC B Pin # 44 Pin PLCC B Symbol 8!! Type $ Description Receiver Serial Data Input (Channel D). % %(, (*(' ( * '' (% '( *(% $* " '( ' '6# 8!# (% %'(*(# %( ( (% % (%( , , * (% ' '6 Transmitter Serial Data Output (Channel D). % %(, (*(' ( * '' (% %( *(% (% (% ( (, 6( , % 3 %( (% (# (%# 3 ' (% ( , ( ' <+)= $* " %( ' '6 (% %'(*(# 8!# %( (% %(* * %( (* ,(% *( , , * (% ' '6 Data Transfer Acknowledge (Three-State, ActiveLow). %%% != ( ( * + % 5! E$5 ( (% & ' .0 (& * + % I(% (% %(, * (% ( ('% ( I('6& & ' 5! E$5 '&' $* %%% != ( , 5! ( # ( ( ('% + I% (% % $* != (% %% ( , $ '6 3, '&'# (% ( * ( , + ' % * $> $ >' , (% ( % $* %%% != ( , E$5 '&'# ( (% ( * ( , + # %# % ' ( % ** * (' $5 00 Interrupt Enable Output (Z Mode; Active High). (% ( (% & /(,1 ; 3# ( * * 3( , 3 ' (( % ' '% (% ( , ,, / 31 $* $5$ $ 5 $ ( (% / 31 $* $5 (% / 31 '% * $5$ ( # $5 3( ,, /(,1 ' $5$ ( % ,, /(,1 % (%% $ I% + $: ( (% ,, / 31 $* $5 (% / 31 '% % I% $ # $5 3( ( / 31# , $ (' ( # ( + % ( 6 /55 $ 1 4 $=: .0 ? $ Interrupt Acknowledge (Active Low). (% ( (% + K% % % ( I% (%% & (' E + %%% (% ( # ( ( ('% K% ( I% (% %('# & " % '&' 3( ( '6 3, $= '&' 3( % + K% ( '6 3, %(, & '( , ' % * $ >' ,(% $> % ! !B 0 0 8!! !=: .0 B XR82C684 Pin # 68 Pin PLCC 4 Pin # 44 Pin PLCC Symbol $:: Type Description Interrupt Request Output (Active Low, Open-Drain). $: (% %% '' ' * * '(K% %6 ( ( , ' (( % (% %(, 3( ( %% , $ (' ( 3( , ' ' (( % '%( , $ I% % (( Output 11 (General Purpose Output). (% ( ' % ' *(, * '( % / ! %( 8 ' '61 8!G8# / ! '( 8 ' '61 # '( 3 / -( D &1 -GG!H 4 + 8!G8 8!G8 -GG!H 44 4@ 49 4 2:! 2:! + 8G8 8G.8 8G8 Output 10 (General Purpose Output). (% ( ' ' *(, * '( % / %( 8 .8 ' '61 . % / '( ' '61 Output 9 (General Purpose Output). (% ( ' ' *(, * '( % '( 3# ( / !# I% 1 ! Output 8 (General Purpose Output). (% ( ' ' *(, * '( % '( 3# ( / I% 1 Transmitter Serial Data Output (Channel D). % %(, (*(' ( * '' (% %( *(% (% (% ( (, 6( , % 3 %( (% (# (%# 3 ' (% ( , ( ' <+)= $* " %( ' '6 (% %'(*(# 8!# %( (% %(* * %( (* ,(% *( , , * (% ' '6 Receive Serial Data Input (Channel D). % %(, (*(' ( (% '( *(% $* " '( ' '6 (% %'(*(# (% % (%( , , * ' '6 Input 15 (General Purpose Input). Input 14 (General Purpose Input). (% ( ( ' % ' *(, * '( % " ' '6 ( * '( * ! 8!G58 Input 13 (General Purpose Input). (% ( ( ' % ' *(, * '( % " ' '6 ( * %( * ! 8!G58 Input 12 (General Purpose Input). (% ( ( ' % ' *(, * '( % " ' '6 ( * '( * 8G58 4. @ + ! 4B 9 +0 40 . 8! 4 B 8! $ @ @ $+9 $+@ 8!G58 $ $ @ $+4 8!G58 $ @4 $+ 8G58 $ 0 XR82C684 Pin # 68 Pin PLCC @@ Pin # 44 Pin PLCC 0 Symbol $5$ ? Type $ Description Interrupt Enable Input (Z-Mode; Active High). $* (% '((, ( (% ,(' /(,1# (% ' * , ( , %6 $ I%% + $* (% ( (% ,(' / 31# (% ( (( * , ( , & $ I%% + Note: if the user is operating this device in the "68 Mode" or in the "88 I-Mode," then this pin should be tied to VCC . @9 $+ 8G58 @. $+ G58 @B $+ ! @0 4 $+0 @ 4 9 $ $ $ $ $ Input 11 (General Purpose Input). (% ( ( ' % ' *(, * '( % " ' '6 ( * %( * 8G58 Input 10 (General Purpose Input). (% ( ( ' ' *(, * '( % " ' '6 ( * -( D Input 9 (General Purpose Input). (% ( ( ' ' *(, * '( % '( 3# / ! 1 ( ! Input 8 (General Purpose Input). (% ( ( ' ' *(, * '( % '( 3# / 1 ( MSB of Address Input.(% ( # , 3( %% ( %# 9 % %' '( ,(%% 3(( (' ( , 3( ( % 3( + Address Input. Address Input. Address Input. LSB of Address Input. Input 0 (General Purpose Input). (% ( ' ' *(, * '( % '( 3 / 1 ( * Input 1 (General Purpose Input). (% ( ' ' *(, * '( % '( 3 / 1 ( * ) ) Input 2 (General Purpose Input). (% ( ' ' *(, * '( % " ' '6 ( * -( D Input 3 (General Purpose Input). (% ( ' ' *(, * '( % " ' '6 ( * %( Read Strobe ("88 Mode"; Active Low). / 31 (% ( 3( (% % / 31 '% ' % * %% ,(%# ! )% Note: $* % (% ( , (% (' ( /.0 1 (% ( % ( > 9 $+@ 8G58 $ Input 4 (General Purpose Input). (% ( ' ' *(, * '( % " ' '6 ( * '( 9 9 9 94 9@ 4 44 4@ 49 4. @ 4 $+ $ $ $ $ $ 99 4B $+ ) $ 9. $+ G58 $ 9B $+4 8G58 $ 90 40 ! 00 XR82C684 Pin # 68 Pin PLCC . Pin # 44 Pin PLCC Symbol $+9 8)G58 . $+. 8)G58 . .4 4 $+B 8! $ $ $ Type $ Description Input 5 (General Purpose Input). (% ( ' ' *(, * '( % " ' '6 ( * ) %( Input 6 (General Purpose Input). (% ( ' ' *(, * '( % " ' '6 ( * ) '( Input 7 (General Purpose Input). Reveive Serial Data Input (Channel A). % %(, (*(' ( * '' (% '( *(% $* " '( ' '6# 8# (% %'(*(# (% % (%( , , * (% ' '6 Transmitter Serial Data Output (Channel A). % %(, (*(' ( * '' (% %( *(% (% (% ( (, 6( , % 3 %( (% (# (%# 3 ' (% ( , ( ' <+)= $* " %( ' '6 (% %'(*(# 8# %( (% %(* * %( (* ,(% *( , , * (% ' '6 Output 0 (General Purpose Output). (% ( ' % ' *(, * '( % '( 3# ( I% * Output 1 (General Purpose Output). (% ( ' % ' *(, * '( % '( 3# ( I% * ) ) Master Reset (Active High for the "88 Mode", and Active Low for the "68 Mode"). %%( , (% ( '% * 3( , ( ,(%%7 # $ # $ # + # + # ( (((J% $> # % % * -(%# % + +9 ( (, %# '% * %( ' % ( ( '( % 3( 8!# 8!)# 8!# 8!! 6( , (, .@ @ 8! .9 @ + .. @ + ) .B @4 55 $ .0 @@ > XR82C684 DC ELECTRICAL CHARACTERISTICS 1, 2 Test Conditions: L 9# > L 9> 9M %% 3(% %'(*( Symbol >$< >$; >$;8 >< >; $$< $$<5< $8< $8< $8$; $8; $<< $ $ $ Parameter $ < 3 > , $ ;(, > , $ ;(, > , 8-<= < 3 > , ;(, > , $ <6, ' +( <6, 8 $ < 3 8 $ < 3 8 $ ;(, 8 $ ;(, ! )% ( <6, !( <6, + 3 & 4 + 3 & 4 Min. 9 @ @ 9 4 Typ. Max. 0 > > @ 9 4 Unit > > > > > * * * * * Conditions $< L @ $; L @* >$: L > >$: L > >$: L >$: L > >$: L > > L > > L > '( & B . 4 9 * * Notes 1 Parameters are valid over the specified temperature and operating supply ranges. Typical values are 25C, V CC = 5V and typical processing parameters. 2 All voltages are referenced to ground (GND). For testing, input signal levels are 0.4V and 2.4V with a transition time of 20ns maximum. All time measurements are referenced at input voltages of 0.8V and 2.0V as appropriate. See NO TAG. 3 Measured operating with a 3.6864 MHz crystal and with all outputs open. 4 The minimum high time must be at least 1.5 times the X1/CLK period and the minimum low time must be at least equal to the X1/CLK period if either channel's Receiver is operating in external 1X clock mode. XR82C684 AC ELECTRICAL CHARACTERISTICS 1, 2, 3 Test Conditions: L 9# > L 9> 9M %% 3(% %'(*( Symbol 5 ; ; E !! ! ! !; E! Parameter 55 +% E( @ ( !# E <3 @ ; ( * !# E <3 ( !# E < 3 ; ( * !# E ;(, !# E +% E( ! >( * ! < 3 ! )% ( , * ! ;(, ! ( E ;(, ! ; ( * E ;(, ;(, ( 3 % E(% 0# $5 !& ( * $5$ $= ( ! < 3 $= ; ( * ! ;(, $5$ ( ! < 3 $5 !& ( * $: < 3 9 ( < 3 9 ; ( * ;(, -E ( < 3 -E ( * ;(, ;(, +% E( # Min. Typ. Max. Unit *% Conditions Reset Timing (See Figure 56) XR82C684 Read and Write Cycle Timing - 88 Mode (Figure 57) 9 . 9 B9 7 % % % % % % % % % % Z-Mode Interrupt Cycle Timing (Figure 58) !$ $ $; 5$ 5! ; E E; E ! !! ! ! !; !< : % % % % 9 B9 9 % % % % % % % % % % % % XR82C684 Read, Write and Interrupt Cycle Timing -68 Mode (Figure 59, Figure 60 and Figure 61) $= ;(, * != <3 ! >( * $= <3 ! )% ( , * $= ;(, ! ( < 3 ! ; ( * < 3 != < 3 * ! >( XR82C684 AC ELECTRICAL CHARACTERISTICS 1, 2, 3 (CONT'D) Symbol !; ! Parameter != ;(, * $= ;(, != ;(, $ ' * $= ;(, + $ ( ! < 3 + $ ; ( * ! ;(, + >( * E- ;(, $: +4 +B 3 % % $ % ;(, * 7 * $ % % )(% ( $ $+ * $ %6 ( $ Clock Timing (Figure 64) <= <= 8 *8 8-<= 5" ;(, < 3 ( 8-<= &% 5" I '& -( 5" '6 ;(, < 3 ( $+ -( 5" '6 I '& 8 8 5" ;(, < 3 ( 8 8 5" I '& .8 8 Transmitter Timing (Figure 65) 8! 8! !& 8 5" < 3 8! !& 8 $ 49 9 % % B4B 4.0@ B4B % ;J % ;J % @ Min. Typ. Max. 9 Unit % % Conditions XR82C684 Read, Write and Interrupt Cycle Timing -68 Mode (Figure 59, Figure 60 and Figure 61) (Cont'd) Port Timing - XR82C684 (Figure 62) 7 + +; +! % % % Interrupt Output Timing - XR82C684 (Figure 63) $ 4 4 % % . ;J ;J 4 XR82C684 AC ELECTRICAL CHARACTERISTICS 1, 2, 3 (CONT'D) Symbol 8 8; Parameter 8! ! ( 8 5" ;(, 8! ! ; ( * 8 5" ;(, Min. @ Typ. Max. Unit % % Conditions Receiver Timing XR82C684 (Figure 66) Notes 1 Parameters are valid over the specified temperature and operating supply ranges. Typical values are 25C, V CC = 5V and typical processing parameters. 2 All voltages are referenced to ground (GND). For testing, input signal levels are 0.4V and 2.4V with a transition time of 20 ns maximum. All time measurements are referenced at input voltages of 0.8V and 2.0V as appropriate. See Figure 50. 3 AC test conditions for outputs: CL = 50 pF, RL = 2.7 kohm to V . CC 4 If -CS is used as the strobing input, this parameter defines the minimum high time between -CSs. 5 Consecutive write operations to the same register require at least three edges of the X1 clock between writes. 6 This specification imposes a 6 MHz maximum 68000 clock frequency if a read or write cycle follows immediately after the previous read or write cycle. A higher 68000 clock can be used if this is not the case. 7 This specification imposes a lower bound on -CS and -IACK low, guaranteeing that they will be low for at least one CLK period. 8 This parameter is specified only to insure that -DTACK is asserted with respect to the rising edge of X1/CLK as shown in the timing diagram, not to guarantee operation of the part. If the specified setup time is violated, -DTACK may be asserted as shown or may be asserted one clock cycle later. 9 The minimum high time must be at least 1.5 times the X1/CLK period and the minimum low time must be at least equal to the X1/CLK period if either channel's Receiver is operating in external 1X clock mode. ABSOLUTE MAXIMUM RATINGS1 ! & > , B> , .9 9 > ,% 3( %' 2 9> NB> Notes 1 Stresses above those listed under the Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only, and functional operation of the device at these or any other conditions above those indicated in the "Electrical Characteristics" section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. @ XR82C684 SYSTEM DESCRIPTION 80.0@ ' %(%% * * ( # *" ' ('( ' %. ' ' %(%( , * ( 3 %( '( 5' ' * & ( & , * ( , * ' ( *' 3( , * '%% % 3( ( ( * ' % ( , % * ' '( %( & %' * * 44 ( & , *(" ( %# * ' '6 ( * ( ' -(# * " & %( " ." ' '6 ( , % ' * 44 (** *(" ( % ' ('& * '&% ' ' ' %% 3 ( % * " ' '6 ((& ( & , ( , % * '( %( * ' ' 6% '( * %( % ' ('( % %' % '% ( %&%% '( %( I ** ( '( $% ( ( ((J (%6 * '( ' ( ( ( ('( % % (% * 3 ' '((& ( (( %(%%( * (' 3 ** * '(( , (% *# % ( , %% * % (% 3 , % .( ' -( 3(' & % % % , ( , %# . ( ( % ( ( % . ( ( % ( % B. OPERATION CONTROL BLOCK ' ,(' * ( '6 '(% ( , ' % * + , % %(, % ( % %'( % * ( ) '6 * '( % % % ( *' % * (' '(*(' ( (% % %( * ,(% %% !' ( ,# !' ( , * ' % % %# ( ' ('( ' %# % % -( ( , /%% ,(%1 ( ' ('( * ' % , , ( ) '6 ( ) '6 3( ' * ' % * 3( , ( %(, %# ( , 3 ( (% ( ( /.01 /00 17 68 Mode %% $ %# 9 E 55 88 Mode %% $ %# @ ! E 55 A. DATA BUS BUFFER % ** (% ( *' 3 ( 3(( '( " %% $ (% ' & ( ' '6 3 %*% 6 ' 3 % + /.0 1 % ( '% %* '6 3, != 3(' (% %% ( , 3( '&'% ( ( * + I% ( % ' %% != %(, ( ('% ( % ' ( , 3( '&'# I% (% % ( , '&'# ( ' (% % ( , ( '6 3, '&' E ( *'( , .0 *(& '%% # % ' *(, ( /00 1 (( 3( I( % , ,(' ( & ( *' .0 (& Figure 3 % % %'(' * '%% ( , ,(' '('(& 9 XR82C684 -E E 5 ' '6 ! 55 55 Figure 3. External Logic Circuitry Required To Interface a 6800 Family Processor to an "88-Mode" XR82C684 Device B.1 Quart Register Addressing %%( , * ( ,(%% * (% % ( Table 1 Please note that some of the registers are "Read Only" and others are "Write Only". Each channel is provided with the following dedicated (addressable) registers. ,(%% ,(%% % ,(%% '6 ' ,(%% '( ; ( , ,(% ; %( ; ( , ,(% ; (( ' ( % * 3( , ,(%% % -' ' (% $ % ,(% % O ) $ % ,(% % O ! $ %6 ,(% % O ) $ %6 ,(% % O ! %6 $ % ,(% % O ) %6 $ % ,(% % O ! $ >' ,(% % O ) $ >' ,(% % O ! "((& ,(% % O ) "((& ,(% % O ! *( % ' ( % ,(%% % * '( % %( ' ('( # %' % % %-(% + + ,(% + + ,(% $+ $ + *(,( ,(% $+ $ + *(,( ,(% -( )& ,(% -( )& ,(% < -( < 3 )& ,(% < -( < 3 )& ,(% . XR82C684 Read Mode Registers Address (Hex) 4 @ 9 . B 0 ) ! 5 4 @ 9 . B 0 ) ! 5 Register Name ,(%# % ,(%# %6 $ % ,(% " ; ( , ,(%# $ + , ,(% $ % ,(% -( )& ,(% -( < 3 )& ,(% ,(%# ) % ,(%# ) 55>5! " ; ( , ,(%# ) $ >' ,(% $ + -( -( ,(% % ,(% %6 $ % ,(% " ; ( , ,(% $ + , ,(% $ % ,(% -( # )& ,(% -( # < 3 )& ,(% ,(% ! % ,(% ! 55>5! " ; ( , ,(% ! $ >' ,(% $ + -( -( Symbol # $ ; $+ $ < )# ) ) ;) $> $+ # $ ; $+ $ < !# ! ! ;! $> $+ Write Mode Registers Register Name ,(%# '6 ' ,(%# ,(% " ; ( , ,(%# "((& ,(% $ %6 ,(% -( )& ,(% -( < 3 )& ,(% ,(%# ) '6 ' ,(%# ) ,(%# ) " ; ( , ,(%# ) $ >' ,(% + *(,( ,(% + +B + )(% + )(% ,(% '6 ' ,(% ,(% " ; ( , ,(% "((& ,(% $ %6 ,(% -( # )& ,(% -( # < 3 )& ,(% ,(% ! % ,(% ! ,(% ! " ; ( , ,(% ! $ >' ,(% + *(,( ,(% +0 +9 + )(% + )(% Symbol # ; $ < )# ) ) ) ;) $> + +) +) # ; $ < !# ! ! ! ;! $> + +) +) Note: The shaded blocks are not Read/Write registers but are rather "Address-Triggered" Commands. Table 1. Quart Port And Register Addressing B XR82C684 Table 1 ( ('% ' ' (% I( 3( 3 ,(%% %% '( 3( ' * % ,(% (% (% / ,(%1 ( ( '(-%&% 3 55 ' ( (% / ( ( , 1 ' ,(% Please note that the suffix "n" is used at the end of many of the QUART registers symbols in order to refer, generically, to any one of the four channels ; 3# ' % * ( 3( %(* * %% * ,(% * ,(%# ((& * 3( , & E( ''%% ,(% ( 3( ' ( / ( 1 ,(% ( 3 % ''% ( /55 +$:51 ' % ( 6 /55 +$:51 ' ' (%% & 3(( , ( ( ' K% ,(% * # ,(%%# 3(( ,( ' # % ,(' %% *% * '( % * ' & ,(%% (%'%% ( ( ( Section G.3 B.2 Command Decoding 5' ' (% I( 3( ,(% $ , # * % ,(%% -(% %(# -(% '(# , 3( *'((( , %(% * (%' % ' '( ' % ( * * ' ,(% (% % 3 CRA, CRB, CRC, CRD Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 L : , L 5 " L !(% " L : ( % Bit 2 Bit 1 L : , L 5 " L !(% " L : >( ! % Bit 0 Miscellaneous Commands 3( , " Enable/Disable Receiver Enable/Disable Transmitter * '( * 3 ( * ,(%% (% *(& %(,* 3 (% ( (% % ( (% %( - '( ( * ,(% (% % ( 6 %(% * (%' % ' % Table 2 Bit 7 Bit 6 Bit 5 Bit 4 Null Command: *( % ' % %% '( 3( ( * ,(%% Please note that the upper nibble commands 116 through B effects only the performance of Command Register's Channel. However, commands C and D effects system (or chip) level operation. Description Reset MRn Pointer: %% K% ( ( Reset Receiver: % ( (( ' '( % (* ;3 % % ( '( (% (% $ (% *% Reset Transmitter: %% ( (( ' %( % (* ;3 % ( 8! (% * ' (, Reset Error Status: % '( )6 )# +(& 5 +5# ( , 5 5 5 5 %% (%# PB74Q '(*(' (* 5 # * (' ' (% % /) '61 5 # (% ' 3( % * '( 5 $ (' % ( % ,(% $ ) '6 5 # ' ( +5# 5# 5# ) ''%# 3( ' ( *,, ( % ,(%# ( (% ' (% (%% $* 5 # * (' ' (% % /' 5 1# ' % * % ,(% * +5# 5# ) *' '' & '' %(% $ /' 5 1# % * % ( (' % (% % & '' (% * ; : 7 5 ( (' (% 3&% % % /) '6 5 1 ( (' # I(% (% ' % Reset Break Change Interrupt: % ' K% 6 ' , ( %% (# 3(( ( $ % ,(% 0 XR82C684 Bit 7 Bit 6 Bit 5 Bit 4 Description Start Break: '% 8! 3 %( % % 6 $* %( (% % * 6 & & 3 ( (% $* %( (% '(# 6 ,( % 3 %(%%( * % ''% ( ; (% ' # (J# 85+ % * 6 3( ,( Stop Break: 8! ( 3( , (, 3(( 3 ( (% 8! 3( ( (, * ( ( * " ''# (* (% %( Set Rx BRG Select Extend Bit: % ' K% /'( )2 ' 5" )(1 Clear Rx BRG Select Extend Bit: % ' K% /'( )2 ' 5" )(1 Set Tx BRG Select Extend Bit: % ' K% / %( )2 ' 5" )(1 Clear Tx BRG Select Extend Bit: % ' K% / %( )2 ' 5" )(1 Set Standby Mode (Channel A): E (% ' (% ( 6 ( ,(%# 3 (% * ' * %(%# '(%# ' -( (( '('(% ' ( % & 3 3 Please note that this command effects the operation of the entire chip. Normal operation is restored by a hardware reset or by invoking the "SET ACTIVE MODE" command. Reset IUS Latch (Channel B): E (% ' (% ( 6 ( ) ,(%# (% ( , ( ? # ( '%% $ (' $ ' % (%# ( # 3( '% $5 ,, /(,1 Select Direct System Clock (Channel C): 3( , 3 55# ( ( 6( , (% ' # (% ( , ( /!(( &% '61 '(*(' (% % %'( ' '6 *I '& (% (( & 3 # ( ( , , ( * (( , ) '6 $* % ( /!(( &%% '61 # '( * * ' % 3( * * % ( Table 15 Table 15A $* % ( 6% (% ' ( ,(%# (% /!((&1 3 6 (% * /(( , %(, 1 # % 3( '( %# %'(*( ( Table 15 Table 15A Set Active Mode (Channel A): E (% ' (% ( 6 ( ,(%# (% * & %% ( Set Z-Mode (Channel B): E (% ' (% ( 6 ( ) ,(%# (% ' (( ( ? ( (%'%%( * K% ( 3( ( ? # +% % Section C.6.2 ( * 00 & Select Divided System Clock (Channel C): (% ' (% % * /' !(' &%% '6 1 ' (% ' 3( /(( & 1 3 6 ( )2 (( , %(, **' * (% ' (% ' & * * % ( Table 15 Table 15A Please note that this command effects the baud rates for all four channels of the QUART. Reserved Reserved Table 2. Miscellaneous Commands, Upper Nibble of All Command Registers, Unless Otherwise Specified XR82C684 $ (( ' % 3(' ( , ' ,(%%# % **% /%%(,,1 /' % % ' % (% ( Table 1# / + ,(% %%( ,#1 * ( (*( & ( , /%1 ( (% '(*(' % ' % 7 -( -( -( -( + )(% + )(% + )(% + )(% 5' ' (% ( 6 & ( ( , 3(( , (% ' % ( , %%# % %'(*( ( Table 1 "# -( (% ( 6 & ' * ( , %% 5. Please note that this "Read Operation" will not result in placing the contents of a QUART register on the data bus. The only thing that will happen, in response to this procedure is the Counter/Timer #1 will initiate counting. For a detailed discussion into the operation of the Counter/Timers, please see Section D.2. " * %%(,, ' % (% / + )(% 1 (% ' (% ( 6 & * ( , 3( * %% 5. E % ( 6% (% ' # -% (% %( , '( (% /1 3(( + + ,(% (%# 3(( + %'(*( %# ' , % * ( %# Register $ $ $ $ $ $ $> $> Description $ % ,(% $ % ,(% $ %6 ,(% $ %6 ,(% %6 $ % ,(% %6 $ % ,(% $ >' ,(% $ >' ,(% + +B ' % * ( (( (% 3(( + <(63(%# % * ( % +0 +9 ' % * ( (( (% 3( + ; '# (* +PQ ,# ( 3(( + (% % /1# % * ' % ( , ( # +# (% 3 % ,(' /1 %I ' ( 6 * / + )(%1 ' % / + +( %1 ' ( (%'%%( ( ( * + %# % % Section F C. Interrupt Control Block $ ) '6 3% % & ( /$ !( 1 ( ( '% '( 3# ( ( I% %(, $:# 3(' & , %% '' ' * & * * 3( , %7 %( ; ,(% # )# # ! & '( ; ,(% # )# # ! & '( $ # )# ! 5 * '( )6 ( % # )# ! 5 * -( ' * ( -( -( , * ( ( %# $+# $+# $+# $+4# $+0# $+# $+# $+ $ ) '6 ' %(%% * 3 $ % ,(%% $ $# 3 $ %6 ,(%% $ $# 3 %6 $ % ,(%% $ $ 3 $ >' ,(%% $> $> Table 3 (%% % ,(%% ( %% '( 3(( Address Location (in QUART Address Space) 9. & 9. & 9. E( & 9. E( & . & . & . . Table 3. Listing and Brief Description of Interrupt System Registers XR82C684 % *( 37 * ' * % ,(%% ' (( % (% ''( , $ , # ' % * $ 3( ( (' '%% # % ' % * $ I% * * # & ( %(' ( * % ,( & ( , ( % ,(%% $% %6 $ % ,(%% (* * 3 $% % 37 C.1 Interrupt Status Registers (ISR1 and ISR2) ' % * $% ( ('% %% * ( ( ' (( % $* & (% 3(( % ,(%% ,, /(,1# ' % ( , ISR1 Register Bit Format Bit 7 Input Port Change L: L H% Bit 6 Delta Break B L: L H% Bit 5 RXRDY/ FFULLB L: L H% Bit 4 TXRDYB L: L H% Bit 3 Counter #1 Ready L: L H% Bit 2 Delta Break A L: L H% Bit 1 RXRDY/ FFULLA L: L H% Bit 0 TXRDYA L: L H% ISR2 Register Bit Format Bit 7 Input Port Change L: L H% Bit 6 Delta Break D L: L H% Bit 5 RXRDY/ FFULL D L: L H% Bit 4 TXRDY D L: L H% Bit 3 Counter #2 Ready L: L H% Bit 2 Delta Break C L: L H% Bit 1 RXRDY/ FFULL C L: L H% Bit 0 TXRDY C L: L H% *( (( * ( , ( ' * % (% (% % 3 C.1.1 ISR1 Register - Channels A and B ISR1[7]: Input Port Change of State: $* (% ( (% ,(' /1# ' , * % 3% ' $ + ( % $+ $+4 % %('% (% ( & ( , $+ (* $PBQ L $PBQ (% ' 3 + % $ + *(,( ,(% D $+ )& ( , $+# % 3( ( 7 $ + ( ' , % *( % * ( ( %# * 3( , , * ( %'(( Section E * $+# % % ISR1[6] Delta Break Indicator - Channel B: E (% ( (% %# ( ( ('% ) '( % ' ,( ( , * '( 6 ) (% ( (% ' % 3 + ( 6% ' ) /55 )5= ;:25 $:5 +1 ' % Table 2 ( * ( ( K% % % )5= ' (( # % % Section G.2 ISR1[5] RXRDY/FFULL B - Channel B Receiver Ready or FIFO Full * '( * (% ( (% %' & ,( , )P.Q $* (% ( *( (% ' *(, * '( % '( & ( (' 8!H)# /1 ( (% (*( ( ('% % '' * (% ( ;) (% & & + (% ( (% % 3 '' (% %* * '( %(* ,(% ;) (% ' 3 + % ;) $* %( ''% ( ;) * ( # ( 3( % ,( * ;) (% / 1 $* (% ( (% ' *(, * '( % /$ 1 $ (' <<)# ( (% % 3 '' (% %* * ;) %* '%% ;) ' * (% ( (% ' 3 + % ;). & / ( ,1 $# Please note that in order to enable this Interrupt Condition, the user must do two things: 1. Write the appropriate data to the lower nibble of the Auxiliary Control Register, ACR1[3:0]. In this step, the user is specifying which of the four Input Pins, IP0 - IP3, should trigger an "Input Port Change" Interrupt request. 2. Write a logic "1" to IMR1[7]. XR82C684 6( , * " '' $* '' (% 3(( , ( '% ;) (% *# (% ( 3( % ,( * ( # 3 '' (% ( ;) Note: If this bit is configured to reflect the FFULLB indicator, this bit will not be set (nor will produce an interrupt request) if one or two characters are still remaining in RHRB, following data reception. Hence, it is possible that the last two characters in a string of data (being received) could be lost due to this phenomenon. ISR1[4] TXRDYB - Channel B Transmitter Ready (% ( (% (' * 8!H )# )PQ (% (# 3 %# ( ('% ;) (% & (% & '' '' * + ( (% ' 3 + 3(% 3 '' ;). (% % ,( # 3 '' (% %* 8!H) (% % 3 %( (% ( ((& (% ' 3 %( (% (% '% ( ;) 3( %( (% (% 3( %( ISR1[3] Counter #1 Ready $ $5 # - D -( D 3( % $P4Q ' * ' '&' * % %I 3 3(' (% ( +4 ( $P4Q 3( ' & ( 6( , %%(,, /+ :5 1 ' ) ( ( # ( $5 # /+ :51 ' 3( % - $ :5 # (% ( (% % 3 ' D '% ( ' (% ' 3 ' (% % & /+ :51 ' E -( (% ( :5 # /+ :51 ' 3( % -( ( (%'%%( ( * -(% ' * ( Section D ISR1[2]: Delta Break A - Channel A Change in Break %%( * (% ( ( ('% ' '( % ' ,( ( , * * '( 6 ) (% ( (% ' 3 + ( 6% ' /55 )5= ;:25 $:5 +1 ' ( * ( ( K% % % )5= ' (( # % % Section G.2 ISR1[1] RXRDYA/FFULL A - Channel A Receiver Ready or FIFO Full * '( * (% ( (% %' & ,( , P.Q $* (% ( *( (% ' *(, * '( % /'( &1 ( (' 8!H# /1 ( (% ( *( ( ('% (% % '' * ( ;# (% & & + (% ( (% % 3 '' (% %* * ; (% ' 3 + % / %1 ; $* %( ''% ( ;# * 3( , ( # ( 3( % ,( * ; (% / 1 $* (% ( (% ' *(, * '( % $ ; * ( (' <<# ( (% % 3 '' (% %* * ; 3& %* '' '%% ; ' * (% ( (% ' 3 + % ; $* '' (% 3(( , ( '% ; (% *# (% ( 3( % ,( # * 3( , ( # 3 '' (% ( ; Note: If this bit is configured to reflect the FFULLA indicator, this bit will not be set (nor will produce an interrupt request) if one or two characters are still remaining in RHRA, following data reception. Hence, it is possible that the last two characters in a string of data (being received) could be lost due to this phenomenon. Therefore, the user is advised to read RHRA until empty. ISR1[0]: Channel A Transmitter Ready (% ( (% (' * 8!H # PQ (% (# 3 %# ( ('% ; (% & (% & '' '' * + ( (% ' 3 + 3(% 3 '' ;. (% % ,( # 3 '' (% %* 8!H (% % 3 %( (% ( ((& (% ' 3 %( (% (% '% ( ; 3( %( (% (% 3( %( C.1.2 ISR2 Register - Channels C and D ISR2[7]: Input Port Change of State: $* (% ( (% ,(' /1# ' , * % 3% ' $ + ( % $+0 $+ % %('% (% ( & ( , $+ (* $PBQ L $PBQ (% ' 3 + % $ + *(,( ,(% $+ )& ( , $+# % 3( ( 7 ( (( $ + ( ' , % XR82C684 *( % * ( ( %# * 3( , , * ( %'(( * $+# % % Section E Please note that in order to enable this Interrupt Condition, the user must do two things: 1. Write the appropriate data to the lower nibble of the Auxiliary Control Register, ACR2[3:0]. In this step, the user is specifying which of the four Input Pins (IP8 IP11) should trigger an "Input Port Change" Interrupt request. 2. Write a logic "1" to IMR2[7]. ISR2[6] Delta Break Indicator - Channel D: ISR2[3] Counter # 2 Ready E (% ( (% %# ( ( ('% ! '( % ' ,( ( , * '( 6 ) (% ( (% ' % 3 + ( 6% ' ! /% )6 , $ 1 ' % Table 2 ( * ( ( K% % % 6 ' (( # % % Section G.2 ISR2[5] RXRDY/FFULL D - Channel D Receiver Ready or FIFO Full * '( * (% ( (% %' & ,( , !P.Q $* (% ( *( (% ' *(, * '( % /'( &1 ( (' 8!H!# /1 ( (% ( *( ( ('% % '' * (% ( ;) (% & & + (% ( (% % 3 '' (% %* * '( %(* ,(% ;! (% ' 3 + % ;! $* %( ''% ( ;! * ( # ( 3( % ,( * ;! (% / 1 $* (% ( (% ' *(, * '( % /$ 1 ( (' < '' (% %* * ;! %* '%% ;! ' * (% ( (% ' 3 + % ;!. & / ( ,1 $# 6( , * " '' $* '' (% 3(( , ( '% ;! (% *# (% ( 3( % ,( * ( # 3 '' (% ( ;! Note: If this bit is configured to reflect the FFULLD indicator, this bit will not be set (nor will produce an interrupt request) if one or two characters are still remaining in RHRD, following data reception. Hence, it is 4 possible that the last two characters in a string of data (being received) could be lost due to this phenomenon. ISR2[4] TXRDYD - Channel D Transmitter Ready (% ( (% (' * 8!H !# !PQ (% (# 3 %# ( ('% ;! (% & (% & '' '' * + ( (% ' 3 + 3(% 3 '' ;!. (% % ,( # 3 '' (% %* 8!H! (% % 3 %( (% ( ((& (% ' 3 %( (% (% '% ( ;! 3( %( (% (% 3( %( $ $5 # -D -( D 3( % $P4Q ' * ' '&' * % %I 3 3(' (% ( + ( $P4Q 3( ' & ( 6( , %%(,, / 1 ' ) ( ( # ( $5 # /+ :51 ' 3( % - $ :5 # (% ( (% % 3 ' '% ( ' (% ' 3 ' (% % & /+ :51 ' E -( (% ( :5 # /+ :51 ' 3( % -( ( (%'%%( ( * -( ' * ( Section D ISR2[2]: Delta Break C - Channel C Change in Break %%( * (% ( ( ('% ' '( % ' ,( ( , * * '( 6 ) (% ( (% ' 3 + ( 6% ' /% )6 , $ 1 ' ( * ( ( K% % % )5= ' (( # % % Section G.2 ISR2[1] RXRDYA/FFULL C - Channel C Receiver Ready or FIFO Full * '( * (% ( (% %' & ,( , P.Q $* (% (*( (% ' *(, * '( % /'( &1 ( (' 8!H# /1 ( (% (*( ( ('% (% % '' * ( ;# (% & & + (% ( (% % 3 '' (% %* * ; (% ' 3 + % / %1 ; $* %( ''% ( ;# XR82C684 * 3( , ( # ( 3( % ,( * ; (% / 1 $* (% ( *( (% ' *(, * '( % $ ; * ( (' <<# (% (*( (% % 3 '' (% %* * ; 3& %* '' '%% ; ' * (% ( (% ' 3 + % ; $* '' (% 3(( , ( '% ; (% *# (% ( 3( % ,( # * 3( , ( # 3 '' (% ( ; Note: If this bit is configured to reflect the FFULLC indicator, this bit will not be set (nor will produce an interrupt request) if one or two characters are still remaining in RHRC, following data reception. Hence, it is possible that the last two characters in a string of data (being received) could be lost due to this phenomenon. Therefore, the user is advised to read RHRC until empty. ISR2[0]: Channel C Transmitter Ready IMR1 Bit Format (% ( (% (' * 8!H # PQ (% (# 3 %# ( ('% ; (% & (% & '' '' * + ( (% ' 3 + 3(% 3 '' ;. (% % ,( # 3 '' (% %* 8!H (% % 3 %( (% ( ((& (% ' 3 %( (% (% '% ( ; 3( %( (% (% 3( %( C.2 Interrupt Mask Registers (IMR1 and IMR2) $ %6 ,(%% ' /E( &1 ,(%% 3(' % % %' ' (( % 3( '% (%% $ I% '%% * # (* * $ (% %% (& % % $ ; 3# * ' %%# )( * $ $ % 3 Bit 7 Input Port Change L ** L Bit 6 Delta Break B L ** L Bit 5 RXRDY/ FFULLB L ** L Bit 4 TXRDYB L ** L Bit 3 Counter Ready L ** L Bit 2 Delta Break A L ** L Bit 1 RXRDY/ FFULLA L ** L Bit 0 TXRDYA L ** L IMR2 Bit Format Bit 7 Input Port Change L ** L Bit 6 Delta Break D L ** L Bit 5 RXRDY/ FFULLD L ** L Bit 4 TXRDY D L ** L Bit 3 Counter Ready L ** L Bit 2 Delta Break C L ** L Bit 1 RXRDY/ FFULLC L ** L Bit 0 TXRDYC L ** L $* % 3(%% '( ( # -% % 3( /1 ( 3(( $# ' % ( , $ (( <(63(%# (% %6 '( ' (( '%( , ( # % % 3( /1 ( '( ' % ( , ' (( Please note that the IMRs are Write Only Registers, and can therefore not be read by the processor. @ C.3 Masked Interrupt Status Register (MISR1 and MISR2) ' * $ ,(% (% %('& %% * :!( , $ $ , $ L P$ %QP$ %Q ((( * $ (' ( % & ( , $% (% (% 3(( $% ' ,, /(,1 ( ' % ( , ' (( % XR82C684 3 & & ( $ * # %# * 3( , ( , $ % ,(%# 3( 6 (%( % * . "' /(&(1 :! * $ $ ' % ( ' $% /E( &1 ,(%% ' & '%% # ' % * $% 3( % ( %&% * ' (( 3 % *3 I( % (% '((& ' (( ( % * $% C.4 Interrupt Vector Registers, IVR1 and IVR2 % ,(%% & % * $ >' , ( 3 (% ( , ( /.0 1 % ' ( %'( ? %% * /00 1 E( ( * % %# ' % * $> (% &('& %( , %% * K% $ (' ( 3(%# ( $ # $ >' , ( (% &('& * **'( E (% ( , ( $ # $>% ' % % , % -3( ,(%% * $>%# 3( (% ( , ( .0 ? (% % ( %'( . C.5 Limitations of the QUART Interrupt Structure $ ' ** & 3% % , , ( % ( % % '( ; ; $ ' (( %. -( & ' (( # ' ,% ( )6 (( '( ; 3# %( * /! )6 (( 1 )# % , ( % '( % %' % +(& 5 +5# '( 5 5# ( , 5 5 % % ** % ((& ' *(, * % & '' ' * & * % % ' (( % * # %% % (% ( % % * /! <( 6 <&1 ''6( , %' %' % # % (% (% /(1 '( & *I & ( , % ,(%. ''6( , * & J ( % (% (% %'(& '% (* % % % 5 /'1 P9Q L C.6 Servicing QUART Interrupts $ %('( , 3( 80.0@ *% ( 3 ', (%7 /.0 1 /00 1 E(( /00 1# ( %('( , ' * (( 9 ( $ ? $ ('( , * ' * % % (% (%'%% ( ( 3 C.6.1 "68 Mode" Interrupt Servicing .0 *(& * (' '%% % % % ' ( '%%( , '(*(' ( , ( %('( ,# 3( % ( '6 3,# * + # & '( , ' % * * $>% $> $> %# & + !( , ( # ' % * ' * $>% '( % ( 3 ( ( %(' ( % * ( ( , %(% * # ( ' ( ('( %# ' % * $>% '' (% 3 ( ,%7 $ (*& ( ' % I%( , ( 3 + ( '( *. ' , ' '( # ( , ' ( % ( $ (' ( * ( ( , , * %( , />' $ 1 '%%( , / ( 1 '%%( , (% %(, (*(' ( ('((' ('( % %( , & (% ('% $ / ( 1 '%%( ,# '( * $ I%# (' '%% 3( , , ' & ( (' ( ( (' '%( , ( & * (% ( , ' (% ' ' (' '%% ' , ' ( ( %(' ( ( I( ' * % ( ('% % ( '& ( 3(' 3 '' ( , ' ( '%%( , %I ( , ( (((J( * # % 3( ' * $>% 3( "'( % * % 3 @ , # ( '%(& (% (% , * %# ( .0"K% "'( ' # % * / % $ >' 1 & '( * / 1 ( %(' ( % ' * & (&( , ' % * $> & @ ; '# % % 6 ' 6 % $ (' ( * ( ' (( % %% & $# %% P % * $>Q@ ( + , & <(63(%# % % (%% $ (' ( * ( ' (( % %% & $# % P % * $>Q@ ( + , & XR82C684 80.0@# (6 & .0%(% ( ('% %(, %' * ' % * ( $> * 3( , 55 ' (( (% %I (*# ( , $ '6 3, '&' % " %'( + % * $ +( (& 5 ' '( !' . / ( (((J $ >' 1 "'( 3( , Figure 4 % % %( (%( * 3 ( *' .0 '%% * $ (' ' %(( % $+< $+< $+< $:: $=: ! !B ! !B != != XR82C684 MC68000 Processor Figure 4. Simple Illustration Depicting the Interfacing of the XR82C684 QUART to a 68000 Processor Figure 5 % % ( %'(' * 80.0@ (' ( *'( , .0 (' '%% (% *(, % 3% & ( '%%( , ( * (' '%% - ( *' %% ' ( , '('(& * %% % (% 0 4 (% ( ' (% '('( ' %(%% * /$ +( (& 5 ' :B@<@0# 3 4<( 0<( !' % :B@<40 (%'%%( %%# * % :B@<40 ('% /$= !' 1 (% /$- ( ' !' 1 $ (% *(,# % ( ( (& * @ * '( %'(( * (% '('( * 3% $* I(% %(' * + # ( 3( %% '( 3# ( # %(, # $: E (% %(, ,,% / 31 $ +( (& 5 ' :B@<@0 3( , ( $ +( (& % (% ( (& + $ (% '%# $ +( (& (% @ $+< L # $+< L # $+< L $ % % +( (& < @ ( I%# + 3( ''6 $ %6 (% * (% 3 ( % ,(% ( ( % ( ( (& $* % ( ( (& (% @ %%. + 3( '6 3, ,( %(' * (% 3 ( I% $* % . ( ( (& (% 9 ,# K% ( I% 3( %(' ( ' ( * (, ( (& ( % ' (' '%% '(% %(' (% (' ( I%# ( 3( % & %%( , * '( % L # L # L # ( ( (' (% " % '&' 3( $ '6 3, &' (( 3 .0 + (% ( # ( 3( %% )(% # # 4# $ +( (& # 3( ( ( , %% (% @ 4 % ,(' * # + 3( '6 3, (% ( I% & %( , L # L # 4 L # @ 4 L ' * '( % %# ::! , B@< 3( %% * ( % * /$= !' 1 (( %% 3( % %% ( % " % '&' ' ( (% %%# ( * $= !' 3( % %% E 3 ( % %%# $= !' 3( %% /$=@# & %%( , $= ( * $ 3( $=@ %(, ( , %%# %% (%# 0 4# , %% ' % 3 ; 3# (* * % %% (% ,(' /1 # /$- ( ' !' 1 3( % $ (% *(,# XR82C684 3( %%# & %%( , ( * Please note that the QUART does not requires that its -CS input be asserted in order to respond to an "Interrupt Acknowledge" cycle. The QUART only requires that its -IACK input be asserted. $ % % %%( * $= ( # 3( ' ' % * * $>% $ >' ,(%% % ! !B# 3 ( ' & + ' % ' ' % * ( $> %# ( 3( %% != ( ( * + (% & * % + 3( "' (% /1 ( (' 3( & '&' ' (% /1 '&' (% ' # + 3( , & ,( , $= ( * . 3(# ( # , != + ' != % , $ &' (% ' # " % 3( '&'% 3( (6& (' %('( , ( $* % & ( (((J $>%# 3( % -E != ! !B @ $ 4 +( (& 5 ' B 4 . SN74LS148 74LS10 B @ $= !' 4 4 @ 4 SN74LS138 %% !' ( , ('(& %% !' ( , ('(& 9 $=B $=. $=9 $=4 $= 9 $= : ,( , 3 .@ @. 99 .# + 3( (& (% & @# ( ( '( # ( * $ (' ( *3% (% %% '( 3( ( + , * + + 3( ' , ' (% '( ( % % % % ( ( %(' ( "(%% '( ( %&% & $* % % *( ( (((J $>%# ( ' % 3( & * . .0 80.0@ ('# (6 & .0 %(% (% %(, * * ( $ >' ,(%% . $*# ( , $ &'# + % * * $>%# + 3( (& (% & @# 3( ' , ' / ( (((J $ >' 1 "'( %(' ( # ' 4. ( & E + % & %(' ( ' (( % '%( , ( I%% * (( # $: * 3( , -E != ! !B $+< $+< $+< 0 $B $. $9 $4 $ $ >'' $@ $=@ $: $= 4 4 @ @ 9 9 XR82C684 $ B . $- ( B ' 0 4 !' 4 @ @ SN74LS138 9 B . 9 @ 4 9 4 MC68000 Figure 5. Detailed Schematics of the XR82C684 Interfacing to the MC68000 Processor B XR82C684 $: $+< $+< 4 @ 4 $= ! !B >' != Figure 6. XR82C684/68000 CPU Interrupt Cycle Timing Figure 6 % % (( , (, ('( , %I ' * % 3( '' -+ ( *'# ( , $ '6 3, )% &' Interrupt Service Routine C'(% I('6&7 * $ (' ( $ (*& ' (( '%( , $ I% (' ( & (( ( , ' (( '%( , $ $ ( (*& '% * $ # + % ( $ % ,(% %6 $ % ,(% * ' % * ' * $% ( (*(% ' (( % '%( , $ I% Section C.1 *( % ( * * $% (%'%%% 3 ' ' * (% 3(( $% C.6.2 "88 Mode" Interrupt Servicing 00-$ 00-? $ % (% ('& * % /$ 1 <(63(%# ? % * % /?( ,1 0 E (% ( , ( ? # 3( ' 0 ( /( ' 1 %# + # ( , /$ '6 3,1 $= '&' + 3( (% ( ' * ! )%# ( * $ >' '( * ( ( %(' ( # ( %&% & (( ? ,(% % 3 ' ( ((J ( I%% , % ( ('% (% (% (%'%% ( , ( ( Section C.6.2.2 E (% ( , ( 00 $ # 3( ( & ( ' ( * ( + # ( , $= '&' $ >' ( * ( # & % , ' ( $ (' ( # (% '' (% " 3( ( $ * 3( , 3 3 % % % ( 6 / ? 1 ' # ( ' ( ? , $ % * % /$ 1 # ? % /?( ,1 . (% % % % & ( ? 3 ( *'( , ?( , (' '%% # ( $ 3 ( *'( , $ (' '%% XR82C684 ((%( 3 $ ? (% '%%& , /' 1 ( % $* & ( *'( , * 3( , (' '%% %-(' ' %# % ( $ 09* 00* + 009* + .0;* ?0* + $ % ; 3# % ( , ( ? 3 ( *'( , * 3( , (' '%% % (' ' % 000* + 00.* + 00. 0@0.* +% + (* + ?0* + $ % " *3 %'( % 3( ( ( (%'%%( % * -(' '%% ( *'( , ( '%%( , ' * ( (' '%% % (% (%'%%( # ( %'(( * $ $ '%%( , ? $ '%%( , 3( , C.6.2.1 I-Mode Interrupt Servicing 3( ( $ * 3( , 3 * $# 3 % $ , # + ( *'( , ( , ( $ # 3( * '( % * 3%# ( , ( %('( , $* I(% ( %(' * + # ( 3( %%% $: ( + ' + % ' ( I%# ( 3( ( '( * ( ( %(' ( # 3( ' , ' '( + 3( '' (% * (% 3( (( , /$ '6 3,1 %(, ( , % ('( (% ( * ( * ' + % (( '%% * K% ( I%# 3( , (% $: ( + 3( "( / 1 ( %(' ( 3( % '%%( , $ , 3 '% + % ' & % ' ( ( %(' ( # 3 ( *' 3( $ !(' $ + '%%( , 5" >' $ + '%%( , Direct Interrupt Processing $* + &% /!(' $ + '%%( ,1 ' + % ' ( I%# % ' (% ' ( %'( # + 3( ' , ' %'(*(' '( ( %&% & + % & (' ( %# (% / '( 1 (% *(" & + '('(& (%* "# (* $: ( I% ( ( # * 09* # (% %%# + 3( ' , ' '( 4. ( %&% & (% '( (% *(" & '('( %(, * 09* ' ' , & % (External) Vectored Interrupt Processing + % & (% * * ( '%%( , &('& $ '6 3, ( (% /$=1 /$:1 3( % , /( ' 1 ( * ( ! )%# ( " 3 /5" 1 (% % %'( (% * * ' ( '%%( ,. '% '( * ( %(' ( (% ( & 3 /" 1 % + %# %' % 00 009* +# (% /( ' 1 ( * ( (% & ' * << ( %'( %'( /5 % ( 1 '( * (% /5 % ( 1 (% *(" & + '('( %(, $* % &% (% ' * ( '%%( ,# -% (% % %( * ( %( , ( ( %(' ( # ' (( ' ( %'( ( %(' ( %(% (% '( ( & 5' * % $ + '%%( , ' (I% 3( % ( , ( ( * 3( , %'( % $ % % ( , ( $ # 3 ( *' * +-* % ( Table 4 Table 4 % % % & * ( '%%( , (% & & ' * % * +%-* % Comments on 88 I-Mode Interrupt Service Routines ( , ( 00 $ ( %% % (% , ( ( '%%( ,# 3 ' 3( .0 00 ? ) .0 00 ? % 3( ( + 3( ' % * ( $> $> ! %# ( , $= '&' (% * 3% /%'1 * '%% * ( I% 3 * * '# $> (% ' ! )% (* '% * ( I% (% %% & $ ,(% $> (% ' XR82C684 ! )% (* '% * ( I% (% %% & $ ,(% ; '# + ( *' .0 ? & % * $% % * $ (' ( ; 3# + ( *' 00 $ * P* /C 09* 00+ Type of Interrupt Processing !(' 5" >' & $%# ( , %' * '% * ( I%# % * ( %(' ( (% ' ( % % ( '% ( '& * %('( , $ Comments 09* % 3 " $ I% ( %7 $: $: 00* + 3( 3 % * 0 (** ' % * /<<1 ( %' ( % $ (' ( % 00 + 3( ( '6 3, # $:# 3(' ' % /,1 /<<1 ( %'( % ! )% 009* + % /!('1 " $ I% ( %7 B9# .9# 99 (( (% * + % "' % /' 1 ( % % % 00 * + .0;* % %( , /%61 " $ I% ( . $ ?0 + %% "' % ' % % * 00 + ?0 3( ' 40; ( %&% & (* $: ( I% ( (% %% 009* + !(' 5" >' !(' 5" >' !(' $ .0;* ?0* + $ ?0* + $ Table 4. Summary of * P/* C and Their Types of Interrupt Processing (I - Mode) ( * ( % ( Table 4 (% (%'%% ( ( ( * 3( , %'( % C.6.2.2 8051 Microcontroller 09 *(& * (' ' % (% *' & $ ' % 3( (& * ((% * % ((% ( '7 '( %( * 0 ( $- + +4 3 . ( (% @6 &% * 0 &% * 4 XR82C684 $: $: ( 04-09 ( ( ( + 58 0 &% 04-09 0 &% = 04-04 @= 09 0= 09 ( 04-09 ( ( $ ,(%% + %'( )% $- + % ( + 5 <5 +5: + + + +4 8! 8! Figure 7. Block Diagram of the 8051 Microcontroller + + + +4 +@ +9 +. +B +4 8! +4 8! +4 $: +44 $: +4@ +49 +4. E +4B ! 8< 8< > > + ! + ! + ! +4 !4 +@ !@ +9 !9 +. !. +B !B 5 <5 +5: +B 9 +. @ +9 4 +@ +4 + + + 0 4 @ 9 . B 0 4 @ 9 . B 0 @ 4 40 4B 4. 49 4@ 44 4 4 4 0 B . 9 @ 4 09* ' %(%% * @ 0( $- % * % % * '( %# % 3( (%'%% 3 Port 0 (P0.0 - P0.7) (% (% % ( % 4 4 * 09 $ $ ( ( ' %(, %# ( (% % % , % $- , %(, % 3( " ( ' % (" %% % ! !B Port 1 (P1.0 - P1.7) + (% (' $- ( % 0 ( %# %(, % +# +# +# # ( * ( *'( , % I( : ( * '( % %%(, * + ( %. % & % % & * ( *'( , " ('% 5"'( % 04-09 $%# 3(' % + + ( % $- ( % % " ( % ( ( Figure 8. Pin Out of the 8051 Microcontroller 4 XR82C684 Port 2 (P2.0 - P2.7) + +( % 0 (% % ' * '( % , % $-# % (, & * %% % * %(, % 3( " ' & * 9. &% * " & 0 9 Port 3: + 4 (% % ( % B $ (( * '( ( , % , % $-# % ( % ( * '( % 5' * % ( % %# % (% ( Table 5# 37 Bit +4 +4 +4 +44 +4@ +49 +4. +4B Name 8! 8! $: $: E ! Alternate Function '( ! * ( + %( ! * ( + 5" $ 5" $ (- 5" $ (- 5" $ 5" ! & E( 5" ! & -INT0 (P3.2) and -INT1 (P3.3) $: $: " ( I% ( % 09* 5' * % ( ( % % /(' ( 1 '%%( , $ (% '%# /('1 % (* * % ( % %%# , ' 3( ('& ' %'(*(' *(" '( ( ' & (% '( (% ( & '('( %(, * 09* $ ' ' , Table 6 % % '( ( ' & , ' 3( ' # (* ( * % ( % %% Interrupt $: $: Location 4; 4; Table 6. Interrupt Service Routine Locations (in Code Memory) for -INT0 and -INT1 * # (* % (% %( , ( * % ( % % ( I% ( # % % ( % ( ( %(' ( ' (( ' ( %'( ( %(' ( (% ' * % %% '( % $* 09* (% I( ( *' " ' % ( & %' * %(J% , 9. &%# + % + % % % %% ( % + 3( * '( % (" %%- % !( , *(% * * & '&'# + 3( % 3 %% & !( , %' * * & '&' + 3( % (('( % + 3( % % %% & <5 % * B@<4B4 % ' (' ' % (" %% ! % %(, % Figure 9 (% %'(' (%( , 3 80.0@ ' ( *' 09* Table 5. Alternate Functions of Port 3 Pins 09 % % % (( ( % 3(' ( *'( , 80.0@ (% % ( % 7 ALE - Address Latch Enable $* + (% % ( (% % % 3 & * %% % <5 (% %(, '% %% ( " ,(% ( , *(% * * & '&' ' (% (% # + ( % ( * ( ( , %' * * & '&'# 3 %* 6% ' 4 XR82C684 $: ! E + ! !B $: ! E ! !B ! <5 2 74HC373 9 B @ @ + 0 9 %% !' ( , < ,(' G 8051 CPU $% XR82C684 00 Figure 9. An Approach to Interfacing the XR82C684 QUART to the 8051 Microcontroller '('(& % Figure 9 3 * '( % * 3% ( , I% ( (' I%% ( * + & %%( , (% '( 3 $: ( (% 3( '% $: ( ( + , 3 E (% % 09 + 3( *( (% "'( , (% ' ( %'( # 3( ' , ' ( %(' ( $ '% * Figure 5# %( ' K% $: ( (% ( $: ( * * # ,( ( , * ( %(' ( 3( ' ( 4; ( ' & 09 + % (%% $ '6 3, %(, '6 $ 3( C% ,( '%%( , , K% ( %(' ( ' + % (( '%% * ( I%# K% $: ( 3( , , /(,1 + 3( * ( %(' ( % ( C.6.2.3 8080A Microprocessor 00 (' '%% (% * ( %( * $ '%% % $ , # ( (% 0( 44 (' '%% I(% 9># 9># > 3 %(% (( (% (' '%% I(% 3 '(%# ( ' /' 1 + &(' % ('% 3 0@ '6 2 00 &% 0@ '6 2 (% % %( * ' (( ( , , ( , '%%& (( , % ' * 00 + # * " '&% 00 &% (% % %( * **( , (('( ! )% (( %( ' 00 + (' % ('& ( ' % %(, %# 00 !(' (% % %( * %( , %(, ( , ( * ( # * 00 ('# ( * 3( , )% %(, %. ( ''%% & ( ('% $: $ '6 3, 5 & 5E & E( $ $ + $E + E( XR82C684 Figure 10 % % %'(' * 00 + 2:! 9> 9> > ; 9> 2:! 8224 Clock Generator E$ 5!H 55 H: % 2:! 9> E !)$: ;!< ! ! ! !4 !@ !9 !. !B 8228 System Controller 8080A CPU 9 ! ! ! !4 !@ !9 !. !B $: 5 5E $ $E ) 5: Figure 10. Schematic of 8080A CPU Module 8080A CPU Module Interrupt Structure /$ '1 * 00 + (% %'( 3 00 + (' ' %(%% * 3 %(, %7 $:5 $: (( 00 )(!('( )% ' %(%% * %( , %(, # $: $:5 (% '((, $ 5 # $: (% '((, $ I% ( $* /5 $ 1 ' % ( 6# $:5 3( /(,1 ( ('( , 00 + 3( ( I%% * (% E $: ( (% %% & ( (' I%( , ( # + 3( ' (% ' ( %'( * ' ( * (% ( %'( # + 3( %% $: ( 00 )(!('( )% !( & ,,( , $: / 31 $: (% '( 3 /$ '6 3,1 %(, + % ( ( (( '%% * ( %('( , 00 + & % % /" 1 ' ( '%%( , ; '# 3 $: (% %%# + (% 3(( , /' 1 ( * ( ! % $ '% * 00 + # (% /' 1 ( * ( (% &('& ' * * 5 ( %'( % 00 + % % (, (** ( %'( % , B % ( %'( % & '% %'(*(' '( % 3(( + K% & %'# 3 ( ( %(' ( "(%% Table 7 % % (% * % 5 ( %'( %# ' %# ' % ( , 5 %% 4@ XR82C684 Op-Code (hex) B !B ! 5B 5 B Mnemonic 4 @ 9 . B Restart Address (hex) 0 0 0 4 40 servicing. Other circuitry (such as the 8224 Clock Generator, the Address Bus, etc.) have been omitted from the schematic. In this schematic, the QUART Interrupt Service Routine is located at 002016 in memory. Additionally, the QUART has been configured to operate in the I-Mode. The function description of this circuit is presented below. 80.0@ 3( I% ( 00 + # & ,,( , (% $: / 31 (% %(, (% ( ( '((, $: ( * + ' 00 + % ' (% ' ( %'( # ( 3( %% '( 3 $: %(, * 00 )(!('( )% !( (% (# $: %(, * $: %(, * 00 ' ,(' / 31 $: $: %(, % 3 ( , ; '# 3 $: $: ,(' / 31# * , 3( % ,(' / 31# & %%( , * 5 5 ( % * :B@<@@ ! )% ** 4 (% /( ,1 * $: $: %(, % (% % ( % & ( (' I%( , ( (% '(% %(' ,# % %( %% $: %(, ' 5 ( % * 4 %%# # ( ( * (% (' 4 3( 3 * (% ('# !B ! ( % * 00 (' Please note that, in this example, the value "E716 " is hard-wired into the input of U3. This value is the op-code for the "RST 4" command. Hence, once this data is gated into the CPU module, via the data bus, the CPU will load 002016 into its Program Counter and branch program control to that location. The Interrupt Service Routine for the QUART exists at this location in memory. Table 7. 8080A and 8085 CPU Restart Instructions Used with Vectored Interrupts * # ' + '(% ' * * % 5 ( %'( %# ( 3( ,( "'( , (% ( %'( & ( , + , 3( ( /% %%1 *3%# , ' 3( ' /% %%1 '( "# (* ' /5B.1 (% ! )% ( , $: '&'# (% ' ' % % 3( / @1 ' # + 3( . ( + , , ' 3( ' '( ( & % Table 7 Interfacing the 8080 CPU Module to the XR82C684 QUART for Interrupt Processing 00 + ' ' ' 80.0@ ( $ !( Figure 11 % % ' ' ( ( *'( , 80.0@ 00 + * /" 1 ' ( '%%( , Please note that Figure 11 only includes information pertaining to QUART interrupt 49 XR82C684 $:5 $: . 9 $: >'' @ 8080A CPU !)$: ! ! ! !4 !@ !9 !. !B 8228 Bi-directional Bus Driver 4 5 ! ! ! !4 !@ !9 !. !B 5 !$ !$ !$ !$4 !$@ !$9 !$. !$B >'' XR82C684 QUART $: SN74LS244 Figure 11. Circuit Schematic depicting approach to Interface the XR82C684 QUART to the 8080A CPU, for "External" Vectored Interrupt Processing (Interrupt Service Routine resides at 0020 in Memory) ( ' 00 + ' % 0 (** ( %'( %# ( ' % 0 (** ( ( ( ('% (% ' '( & ('( , '# % ( Figure 11# & 3(( , ' % * ' * 5 ( %'( % ( % * ! )**% % Table 7 % ! )**% % & ( , $: '&'# & 3 ( %% '( ( I% ( %(' C.6.2.4 8085 Microprocessor 009 + (% & $ (' '%% # , ( (% ' 00 + * ' % 3 ( %(( * 00 009 ( ' ' ( ( , '6 2 * '( % * 0@ + '(# ( , %6 ( I%# ( , 4 /('1 ( I% ( ( %# ( , % * * ( ( (& 009 %( I(% % , ,(' ( ' )% %(, % (# $# $E# 5# 5E # ( ( ((J ( ' # 009 ' ( % (" %%-! )% ! !B '(*(' 3 0 (% * %% )% % ( % 3( 0 ( ! )% ; '# B@<4B4 0( ' (% ( (" %% ! %% 4. XR82C684 Figure 12 % % %'(' * 009 + 8 8 + B9 .9 99 $: $: ! ! ! !4 !@ !9 !. !B ! ! 4! @! 9! .! B! 0! 4 @ 9 . B 0 74LS373 0 4 @ 9 $- ! E 0 4 @ 9 ! ! ! !4 !@ !9 !. !B 4 @ 9 . B <5 $ 5 $E 5E 8085 CPU Figure 12. A Schematic of the 8085 CPU Module 4B XR82C684 ! !B @ ! !B ! 0! 8 0 8 + B9 .9 99 $: $: 0 9 <5 74LS373 9 B @ G 0 9 %% !' ! E $- ! 5 XR82C684 5E G;5G$ E 8085 CPU Figure 13. Schematic of the XR82C684 Interface to the 8085 CPU Module (Memory Mapped) Figure 13 (%% ' ( *'( , 80.0@ 009 + Note that the XR82C684 QUART, in this case, is memory mapped (e.g., the signals -MEMR and -MEMW of the CPU module are connected to the -RD and -WR pins of the QUART). ; 3# % ' C% % %(& ' ' 80.0@ (' + K% $- ,# %(, $ $E * + ' ' ! E ( % * # %'(& K% $: ( 3% (& ( * (% *(,# '% (% % 3( %% ( " 3 *(,% 8085 CPU Module Interrupt Structure 009 + % % !(' /5" 1 >' $ '%%( , 009 % @ %6 ( I% ( % 99# .9# B9# $:# %6 ( I% ( + E (%'%%( , ( *'( , * ( %('( , * ( ('% %' % # 3 & ' ' 3( %6 ( I% ( % * * %6 ( I% ( %. * % ( % % /!(' $ 1 '%%( , ( ( , ( I% % % /5" >' $ 1 '%%( , Table 8 (%% % $ I% ( % ( ''(%('% *% 40 XR82C684 Input Name B9 Trigger + %(( 5, (,, Priority 4 @ 9 Type !(' !(' !(' 5" >' Acknowledge Signal? : : : $: L /< 31 Address (Hex) 4 4@ Table 7 .9 ;(, < ( % 99 ;(, < ( % $: ;(, < ( % Table 8. 8085 CPU Maskable Interrupt Request Inputs and their Features Direct Interrupts 009 + ( % B9# .9# 99 /!(' $ 1 I% ( % '(*(' (* & * % ( % %%# , ' * + (%# ' ( * ' ( %'( # ('& 3( & '( ( & '('(& 3(( 009 ('# '% , ' '( % /!('1 ( % ( ( (' 3( & % * /$ '6 3,1 ; '# '' ( , Table 8# (* B9 ( 3 %%# /4.1 3 ( , ' * + # , ' 3 ' '( ( & % (% % %( ( % ' ' ( %(' ( ,( % '( ( & 009 + **% ( ( ((J( # 3(( % * %6 $ % (% ( (& (% *' ( Table 8 $ % % ( (& % & & / ( ,1 ( I% ' (' ( % /* I1 (% ( , %(' & + # (% ( ((J( %' , (% (' ( %I ( (% %%( 99 ( I% ' /( 1 ( %(' ( * (, ( (& B9 ( I% * # % % , ,( % (% ( (%- *(3 Table 8 % ( ('% 009 + 3( % /" 1 ' ( % ' % % ( " ' ( '%%( , ( (' % * 00 + % Section C.6.2.3 4 XR82C684 >'' .9 ! !B $: ! !B ! <5 B 9 @ 74LS373 9 0 %% !' ( , < ,(' $ $- ! E $E 5E 5 E ! 8085 CPU XR82C684 Figure 14. The XR82C684/8085 CPU Interface for Direct Interrupt Processing (Interrupt Service Routine is located at 0034 in system memory) Figure 14 Figure 15 % 3 (** '% ' % ( *' 80.0@ 009 + Figure 14 % % %'(' 3 3( I% /!('1 .9 $ 009 + $ (% '%# $ (' ( * % ,( 4@. ( %&% & (% (% & %( ( *' ' (I# '% (% /$ '6 3,1 %(, ( *' @ XR82C684 9 $: . $: 4 ! ! ! !4 !@ !9 !. !B >'' $: >'' @ 5 5 !$ !$ !$ !$4 !$@ !$9 !$. !$B ! ! ! !4 !@ !9 !. !B ! ! ! !4 !@ !9 !. !B SN74LS244 <5 8085 CPU ! ! 4! @! 9! .! B! 0! 4 @ 9 . B 0 74LS373 4 @ 9 . B XR82C684 Figure 15. The XR82C684/8085 CPU Interface for Vectored Interrupt Processing (Interrupt Service Routine is Located at 002016 in System Memory) Figure 15 % % %'(' 3 3( I% /5" >' 1 $ 009 + $ (% '%# $ (' ( * % ,( . ( %&% & C.6.2.5 68HC11 Microcontroller *'% *(& * (' ' %# * % .0; (' ' % (% *(& * (' ' % **% % * * 3( , ((%7 9 ( '( + + % 5+ -! @ XR82C684 ! !) 8< 58< 5 $ 8$ 55 %'( '6 < ,(' $ < ,(' 9. )&% + ( &% )% 5" %( %% >; >< %%-! +$ = $ $ ; %6 + $- $ "! "! -! 0 + + ) + + ! + 5 Figure 16. Block Diagram of the MC68HC11 Microcontroller Figure 16 (% '6 (, * .0;* .0; ' ' *(, ( /( , (1 ( /5" (" )%1 $* (' (% ' *(, ( /( , (1 # ( .@= &% * %% %' (% ( * $ Please note that this does not mean that there is 64K bytes of memory, or other addressable portions within the device. .0; ' *(, * /( , (1 ( ' %% & ' % " * # (* % %( ( *' (% * # * % ( /5" ("1 .0; (% ' *(, ( 5" (" & &( , ! !) ( >''# %( , (' .0; ' %(%% * 9 (** (* '( % 5' * % % (*& (%'%% 3 @ Port A + ' %(%% * 4 ( ( %# @ ( % (('( ( (% (% % % ( &% * ( ( % ' % * +% '' * ( ( % % ( ' * '( %. * * ( % % ' * '( % Port B + ) ' %(%% * 0 ( % $* .0; * (% ( , ( %( , '( # (% * '( % % , % ; 3# (* .0; (% ( , ( " (" # (% 3( * '( % %% & * &-( (' ( *'( , 0 9 Port C + ' %(%% * 0 (('( ( % E .0; (% ( , ( %( ,'( # (% * '( % % XR82C684 , % (('( ; 3# (* .0; (% ( , ( " (" (% 3( * '( % (" %%- % ! !B '(*(' ( , *(% * * & '&'# (% 3( * '( % 3 %% & + ) (% %% & * %%( , & ('% ( ' % !( , %' * * & '&'# (% 3( * '( % (('( % (% ' (" ( % * %% ( B@<4B4 ' (' Port D + ! ' %(%% * 0 (('( ( % ; 3# (% ' ' *(, % '( ( +( $ *' +$# ( ('( % $ *' $ Port E + 5 ' %(%% * ( @ 0 ( % ( , '6,( , ( (% ' ' *(, * '( % , % ( % ( % '( -! ' % ( % ( * ( *'( , 80.0@ (' * % ( % (%'%% 3 -IRQ (% (% /%61 ( I% ( $* (% ( (% %% ,# ,, / 31# .0; 3( ' , ' # 4 ( %&% & '( % (% % %( * ( %( , ( ( %(' ( %(% (% '( ( & AS/STRA /%% 1 ' % (" %%- % * + (% ( (% ,(' /(,1 ( , *(% * * & '&'. ,(' / 31 ( , %' * * & '&' $* .0; (% ( ( " (" ( *' 9. &% * %% & %'# + % ) I( % % 3 ( Figure 17. Figure 17 % (%% 3 80.0@ ' ' ' .0; * * ( ( ( $* I%% ( # (% '( 3 $: ( 3( %% ,, 3# 3(' 3(# ( # '% $ ( * + %% E (% ''% * 3( ' ( "'( , (% ' ( %'( * ' ( * (% ( %'( # , ' 3( %(* '( # 4 ( %&% & % (% % %( ( % K% ( %(' ( %(% (% '( ( & * 3( (%% ( '6 3, %(, $ %# * 3( C% '%%% , ( %(' ( ' * % (( '%% * K% ( I%# $: ( 3( , * 3( * $ (' ( % '%%( , ( % ( Figure 17. , ,(' '('(& I( , E# !# 55 %(, % * # * -E# 55# 5 ' '6 % ( Figure 3. (% '('(& % % ( ' ( Figure 18. @4 XR82C684 9> 5 -E 0 9 %% !' ! E $ 9 B R$: $% ! !) 2 ! @ @ 74HC373 ! !B ! !B 68HC11 XR82C684 Figure 17. XR82C684/MC68HC11 Microcontroller Interfacing Approach -E E 5 ' '6 ! 55 55 Figure 18. Glue Logic Circuitry Required to Interface the MC68HC11 * C to the XR82C684 QUART ' *(, ( ? $ , # + ( *'( , ( , ( ? 3( * '( % * 3% ( , ( %('( , $* I%% ( %('( , * + # ( 3( %% $: ( ,# ,, / 31 ' + % ' ( I%# ( 3( (%% $= $ '6 3, %(, '6 E + % % $= %(, ( (% ( * ( , (% ( I% (% % E % '( ' $= %(, # ( 3(# ( % %# ' ' % * * $ >' ,(%% $> $> C.6.2.6 Z-80 CPU ?0 + ' ( *' ( , ( $ # (* ( + (% ( , ( $ % ; 3# * %6 * / '%% ' ( (&1# (% %% '( 3( ?0 + 3( % ( Section C.6.2.1 C.6.3 Z-Mode Interrupt Servicing 3( ( , ( $ * 3( , 3 3 % * $ % % ( 6 / ? 1 ' % Table 2# ( @@ XR82C684 ! )% + 3( (% /( ' 1 ( * ( . ( * 3( , 3 ( ,% % /( ' 1 ( * ( % ' * ( I% ,# 3(' ( % %(' ( '( * $ (' ( *3%# ,' 3( ' > '( * ( %(' ( ''(%(' * ? ( (% ( 3% % ( ((J ( I%% * % ( ('%# ( 3 % < % % % 3 % ('%. ' * % ('% ' *(, ( ? % ' ( ((J $ I% * ' * % ('% & ' '( , % ('% ( /(%&'( 1 % % ( Figure 19. $: $: > $5$ $5 $: $: $: + $5$ $5 $5$ $5 $5$ $5 $= $= $= $= $= ;$2;5 +$$H (( $: $= ( %# /? 1 % %% $5$ $5 ( %. 3(' *( % * 3%7 IEI - Interrupt Enable Input (% '((, ( (% & ( (* (% ' *(, ( ? $* (% ( (% ,(' /(,1 %6 ( I%%# * (% # Note: those interrupts which have been masked out by the IMR are still disabled. However, if this input is at a logic "low", then all interrupts (whether masked or unmasked) are disabled. Hence, IEI can act to globally disable all QUART interrupt requests. IEO - Interrupt Enable Output (% '((, (% & ( (* (% ' *(, ( ? (% (% &('& ' ' $5$ ( * 3 @9 ( (& (' (% ( (% /(,1 (* * 3( , ' (( % ('K% $5$ ( ( (% ,(' /(,1 * (' (% ' & I%( , ( % (' * + $* & * % ' (( % *%# $5 ( 3( ,(' / 31 Note: Once the IEO pin has toggled "low", and the CPU has acknowledged the interrupt request and has completed the interrupt service routine, the IEO pin will remain "low" until the user invokes the "RESET IUS" command (see Table 2). Therefore, if the QUART is going to operate in the Z-Mode, the user must include the "RESET IUS" Command at the very end of the QUART interrupt service routine. System Level Application of the IEI and IEO pins Figure 19 ('% %(% * % ' ' ( /(%&'( 1 *%( $ (% *(,# * % % (,% ( ( (& (% (% '% (% XR82C684 K% $5$ ( (% 3( >'' * # %6 ( I%%# * (% 3&% ('# ' C% (, * /(,% ( ( (&1 (' (% * 3 ( ( (& (% (% '% $5$ ( * (% 3 ( (& (' (% ' ' $5 * (,% ( (& E /(,% ( (&1 (' I%% ( # (% $5 3( ,, / 31 (% 3( ( # (% / 3 ( (&1 (' * (%%( , & ( I%% + (% / 3 ( (&1 3( (( * (%%( , $: $= ! ( % ( $5 ( * /(,% ( (&1 % ,, /(,1 *( ,# ' ,( # Figure 19# * (, (' (%# 3 (% ( ( (& (, % % 3%( ( (& '% (% /( I%1 '((& ' (% & '( % * & * % * Figure 20 % % (( , (, ('( , %I ' * % 3( '' ( , * 3( , $ I% * ! !B $5$ $5 : >( >' % $ Figure 20. Timing Diagram Illustrating the Sequence of Events occurring between the QUART and the CPU during an Interrupt Request/Acknowledge and Servicing Additional Notes About Z-Mode Operation ? ( (% % & ?( , +( ' % ?( , ( ' % $ >' ,(%# $ '6 3, $= ( # $5$ ( # $5 * # Figure 20 ' %(& ( ' % * % ?( , ( ' %# ( (( ( ( * % @. XR82C684 % ( (# ? ( (% ' (* (% ( *' * 3( , '%% % ?0 (' '%% $ 000* + 00.* + 00. 090.* + Please note that it is possible to interface the 80X86 Family of microprocessors to an I-Mode QUART, however, additional components and design complexity would be required in order to accomplish this ' (I- '% ( *'( , ? % (' '%% % (% % ( (# ( * 3( , %'( % C.6.3.1 Z-80 Microprocessor ?0* + ' %(%% * 0 ( ! )%# . ( %% )% % ' ( % ?0* + (% & *"( '%% 3(' ' '& ( *' ( ? $ (' (% (% '% ?0* + ' ' *(, ( * (** /( %1 ?0 (% % ( ( %% ' (' ( *' % * * +-* % ( %& ( '% (% %% % (" Figure 21 % % %'(' * ( * ?0* + 4 @ 9 +;$ !@ !4 !9 !. > ! !B ! ! $: :$ ;< 5 $ 4 @ 9 . B 0 4 @ 9 . B 0 @ 4 40 4B 4. 49 4@ 44 4 4 4 0 B . 9 @ 4 ?0 + 3( % -E( ( % 3 & $- ?0 % I( % (( , ,(' ( ( *' ('& & ( ('% ( % '# ?0 + (' % ' 3( ' % %(, %7 5 & # 5E & E(# $ $- + # $E $- + E( $=-$: $ '6 3, ( % 5' * % * '( % ' ( * !# E# $# 5 ( % Figure 22 % % %'(' * ?0 + # 3(' % 3% 3 ' ' "' ' % %(, % * % + ' ( % 2:! 9> '6 ( +;$ 9 ! !B $: :$ E$ ) ;< ; ) = E ! 5 $ 5E 5 $E $ $: 55 0 B . 9 @ 4 2:! ; 55 R) E$ ) = E ! Figure 22. Schematic of Z-80 CPU Module Z-80 CPU Interrupt Servicing Capability ?0 + ' ( % 3 ( I% ( %7 :$ $: :$ (% /: %61 ( I% ( ( . $: (% /%61 ( I% ( ( %6 * ( *'( , # 3 & ' ' 3( $: ( ?0 + ' ' *(, (** ( %7 5" >' !(' /+(1 >' 5' * % ( % % $: ( * ?0 + 3( (%'%% ( * 3( , %'( % ( * Z80 CPU Figure 21 Pin Out of the Z80 CPU Device @B XR82C684 External Vectored Interrupt Processing (Interrupt Mode 0) ?0 * + 3( ( (% ( (* /$ 1 ( %'( % "' E $: ( (% %% & ( (' I%( , ( # + 3( ' (% ' ( %'( * ' ( * (% ( %'( # + 3( %% $: ,, / 31 $: (% '( 3 /$ '6 3,1 %(, + % ( ( (( '%% * ( %('( , E ?0 + % ( $ # ( (% 3(( , /' ( * ( 1 ! )%# * 3( , %%( * $: $ (% '% * (% ( # (% /' 1 ( * ( (% ' * * 5 ( %'( % ?0 + % % (, (** ( %'( % 40; % ( %'( % & '% %'(*(' '( % 3(( + K% & %'# 3 ( $ %(' ( %(% Table 9 % % (% * % 5 ( %'( %# ' % ' % ( , 5 %%% " * '('( (J( , (% * * ( '%%( ,# 3( ( *'( , # (% % ( Section C.6.2.3 (% %'( (%'%%% ( *'( , 00 + (% "' % ' ' % 3( ?0 + # ( (% ( , ( $ ?0 (% ( , ( $ Direct Interrupt Processing (Interrupt Mode 1) ?0* + 3( ( (% ( (* /$ 1 ( %'( % "' E $: ( (% %% & ( (' I%( , ( # + 3( ' (% ' ( %'( *3%# , ' 3( ('& 3( & '( ( & '('( %(, * ?0 + (' , ' 3( ' '( ( %&% & $ (% '%# , ' 3 ' 40. ( & % (% % %( * ( %( , ( ( %(' ( (% (' '( ( & ?0 + % ( ( (' 3( & % * /$ '6 3,1 + C% '%%% , $ (' ( # (( % '%% * ( I% % ( Peripheral Vectored Interrupt Processing (Interrupt Mode 2) ?0 * + 3( ( (% ( (* /$ 1 ( %'( % "' (% ( / 1 (% & %* (* % 3(%% ' ' ( I% % * % (% $: ( * ?0 + (% ( 3% ( ( , (' ( (*& (%* '( (# C% ( ( %('( , E $: ( (% %% & ( (' I%( , ( # + 3( ' ( ' (% ' ( %'( ' (% ' ( %'( (% ' # + 3( %% $: %(, ( * ( (' ( %(' (% ,( ' ( ( , ( (' % ' $: %# ( 3( ' /( ' 1 ! )% (% ( ' 3( & + + 3( ' , ' '( * & ( ' Please note that if the IEI input to the QUART (or Zilog peripheral device) is "low" then the QUART (or Zilog peripheral device) will be disabled from generating any interrupt requests to the CPU. " * (% ' (% % 3 ( Figure 23 $ (% '% 80.0@ (% Op-Code (hex) B !B ! 5B 5 B Mnemonic 0 0 ; 0; 4; 40; Restart Address (hex) 0 0 0 4 40 Table 9. Z-80 CPU Restart Instructions Used with Vectored Interrupts (Mode 0) * # ' + '(% ' * * % 5 ( %'( %# ( 3( ,( "'( , (% ( %'( & ( , + , 3( ( /%1 %% *3%# , ' 3( ' /% %%1 '( "# (* ' 5B. (% ! )% ( , $: '&'# (% ' ' % % 3( ; ( %'( # + 3( . ( , ' , ' 3( ' '( ( & % Table 9 % (% % %( * ( %( , ( %(' ( ,( % (% '( ( & @0 XR82C684 ' *(, ( ? (% ( *' ?0 + E I(% ( %('( ,# ( 3( %% (% $: (% '( 3(# ( # '% $: ( * + %% ' + % ' (% ' ( %'( # + 3( %% $: %(, (% 3( ( %% $= $ '6 3, ( % * %% $= %(, (% ( * Most Significant Byte Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 & " '&' 3( /$=1 /$ '6 3,1 '&' # ( % % $= %(, # 3( ' ' % * * $ >' ,(%% $> $> ! )% (% 3( & + # , ' 3( ' ( ( %(' ( $ '% * ?0 + # (% '( (% . ( %% 3(' (% ( * * 3( , Least Significant Byte Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 % * $ ,(% 3(( + B % (, (*(' )(% 3(( $ >' ,(%% * Table 10. The Relationship Between the Contents of the Interrupt Vector Registers (of the QUART) and the Location of the Interrupt Service Routine (Z-80 CPU) Note: The LSB of the IVR is always set to "0" once read by the CPU. Interrupt Service Routines must begin at even addresses. (( % % 3 * ' % -% % ( $ ,(% * + # ( , ( * >'' (, ( (& ( 9 %% !' ('(& 3 ( (& ( G 4 ! !B $5$ $5 @ ! !B $: $: E 5E 5 E ! 5 $ Z80 CPU ! $: $= XR82C684 Figure 23. Schematic of an Approach to Interface the QUART to the Z-80 CPU (for Z-Mode Operation) @ XR82C684 C.6.3.2 8086 Microprocessor 00. (' '%% (% . ( (' '%% *' & $ ( Figure 24 % % ( (, * (% $ Please note that in this figure, pins 24 - 31 have some additional labels, located off to the right of the package. These additional labels will be explained later in this text. $ 3 , ,% 6 ( ' * (% $ 3 & ("( , * '( % * & * % ( % (% (' ' %(%% * . ( ! )% ( %% )% ! )% (% (" 3( 3 . %% )(% 9 * ! !9 %% )(% . (" 3( %% (% 4 . * .-4# B-@# 0-9 -. * % ( % %% ( % ( , *(% * * & '&' ; 3# ( , %' * * & '&'# % ( % 6 ( * '( % ,# ! !9 ' % ! !9# .-4 -. ' % 4 . %' , * (" ( % (% ' & :-8 ( ( E (% ( (% (,# /( 1 (% %' ( % @ , 4 6 ' *( (( % % 3 :-8 L ' ( Table 11 E 00.* + % ( (% # ( % % ' % & %(( * 009* +# I(% & %% ' ' '6 , * + 2:! !@ !4 ! ! ! ! !0 !B !. !9 !@ !4 ! ! ! :$ $: <= 2:! 4 @ 9 . B 0 4 @ 9 . B 0 @ 4 40 4B 4. 49 4@ 44 4 4 4 0 B . 9 @ 4 ('( % ( 3(' 00.+ I(% % * 00B (' '%% :!+ $ (% # %'( % ' 000 (% I( , & $- ' % %(, % 00.* + ' ( % 3 ( I% ( %7 $: :$ :$ (% '((, / %61 ( I% ( . $: (% /%61 ( I% ( $* 00.* + (% ( , ( /( 1 # $: $ '6 3, ( (% ( +( @ % Figure 20 ; 3# (* 00.* + (% ( , ( /"1 # $: %(, % ( * # # ( % ( 000 % ' Table 12 % % '%% %% 000 '( % % # # /"1 %% %(, % Pin Number @ 9 . B 0 4 4 MN/-MX = 1 (Min Mode) ;MN/-MX = 0 (Max Mode) -2 -2 <= > !9 .-4 B-@ 0-9 -. );5-B :-8 ! -2 -2 <= 5 5!H 55 Table 11. MN/-MX Mode and Function of Pins 24 - 31 of 8086 CPU Device -S2 ;-S1 -S0 Processor State $ '6 3, $- + E( $- + ; ''%% & E( & +%%( 8288 Active Output $: $ $E : ! ! E : 8086 CPU Figure 24. Pin Out of the 8086 Microprocessor Device E :-8 (% 3# 00.* + (% ( , ( /"1 (% (% ( * ' " 9 Table 12. 8086 Processor State/8288 Bus Controller Active Output as a Function of -SO, -S1 and -S2 Figure 25 Figure 26 % 00. + # 3 ( , ( /( 1 /"1 %# %'(& XR82C684 ! !B ! !B $: $: !0 !9 ;! 74LS373 B !0 !9 ! <5 74LS373 !5: !- 0 9 $ -$ >'' ! :-8 E 5 $E 5E 8086 CPU Figure 25. Schematic of the 8086 CPU Mode (Min Mode) 9 XR82C684 <= <= !5: !- <5 $: ! !B 8288 Bus Controller ! !B ! E $ $E $: 5 5E $ $E ! B 74LS373 !0 !9 !0 !9 ! 8086 CPU 74LS373 0 9 :-8 Figure 26. Schematic of the 8086 CPU Mode (Max Mode) 8086 * C Interrupt Processing $* ( ' I(% ( %(' * + # ( 3( %% + K% $: ( & ,,( , ( (, ' + % ' (% ' ( %'( # ( 3( %% $: ( (* ( , ( /( 1 % # # ( % /1 % $ ( '%# $= ( * ( 3( %% ' (% %# ( ( , ( (% "' ' /( ' 1 & ! !B * % 00.* + 3( (% (& (% & @ ( ( '( * ( %(' ( ( & 9 ( ' (% /( ' 1 (% 0 (% 3(# 00.* + ' '' 9. (** ( ' % 99 (( %( ' ' ' (% (( & /@1# % (% "' % *(% = & * & * $ (' ( %-A Figure 27 % % %'(' * 80.0@ ( *'( , /( 1 00. + (' Please note that the QUART has been configured to operate in the Z-Mode. Therefore, the user must account for the IEI input to the QUART device. XR82C684 ! !B @ 9 B !0 !9 ! 0 9 ! !B ! 74LS373 !0 !9 ;! !B @ %% !' 74LS373 $= $: ;(, +( (& !(' $5$ -$ > ! :-8 8086 CPU E 5 ! 5E E XR82C684 Figure 27. Schematic of the XR82C684 QUART Device Interfacing to a "Min" Mode 8086 CPU Device )'% * ' "(& * K% (( , ) '6# '6 (,# * (% '6 % (( ( 3 %# % % ( Figure 28 Figure 28A D. TIMING CONTROL BLOCK (( , ) '6 3% % %'(*& ( % -% 3(%% %( '( 3(( ' ' (( , ) '6 ' %(%% * * 3( , %7 %'( ('( )( 2 % . ( -(% 0 5" $ +( % ' '6 %(% '(%# ('& '6 ' ,(%% 47 8% 94 XR82C684 $+@ 8 +% ,(%% # < 8 8) $+ G58 P@.Q ( D 47 8 " $+4 8 47 8 " !(( & . !(( & . 47 8 ") 8-<= 8 %'( ('( )( 2 47 8 $+9 8) $+. 8) ") PBQ Figure 28. Block Diagram of the Portion of the QUART Timing Control Block Which Services Channels A and B 9@ XR82C684 $+ 8 +% ,(%% # < 8 8! $+ G58 P@.Q ( D 47 8 " $+ 8 47 8 " !(( & . !(( & . 47 8 "! 8-<= 8 %'( ('( )( 2 47 8 $+4 8! $+@ 8! "! PBQ Figure 28A. Block Diagram of the Portion of the QUART Timing Control Block Which Services Channels C and D Figure 28 % % (, * ( * (( , ) '6 3(' %('% % ) E%# Figure 28A % % (, * ( * (( , ) '6 3(' %('% % ! Please note that each "half" of the Timing Control Block consists of a 16-bit Counter/Timer, a Baud Rate Generator, a set of four external clock inputs and four 32:1 MUX's. Each "half" of the Timing Control Block shares the output of the Oscillator Circuit. 5' * (( , ) '6 (% (%'%% 37 D.1 Oscillator Circuit: '&% %'( (% &('& ' ' " & ' %% 8-<= 8 ( % %'( ('( 3(( '( * '( % % * % '&% %'( # **% %( , %'(( , %(, # * % & * )( 2 %# -(% '&% < %(, *I '& * 3 ;J 0 ;J (% I( * ( * ; 3# '&% < %(, *I '& * 4.0.@ ;J (% I( * , ( * % ( %# % ( Table 15# & )( 2 % (( *I '& * B4B ;J (% I( * , ( * % ( %# % ( Table 15# & )( 2 % Figure 29 % % 3 ' %'('% * 8< %'( '('(& * '&%% 3( *I '(% * 4.0.@ B4B ;J 99 XR82C684 7 7 7 7 N & S 9 N & S 9 8 8 7 9 N & S 9 7 9 N & S 9 XR82C684 4.0.@;J 8 B4B;J XR82C684 8 + % &% + % &% Figure 29. Recommended Schematics for the XTAL Oscillator Circuitry Note: The user also has an option to drive the Oscillator Circuit with a TTL input signal, in lieu of using a crystal oscillator. If this approach is used, the TTL must be driven into the X1/CLK pin, and the X2 pin must be left floating. $* % %(% % % * %( , '&% %'( # Figure 30 % % ' '%%& '('(& '' (% (% C'( XR82C684 8 8 H 8 ( % * % 4.0@;J 74HC14 Figure 30. A Recommended Schematic to Drive Multiple QUARTs from the Same Crystal Oscillator Note: The user is urged not to use the 74LS14 Schmitt Trigger Inverter in lieu of the 74HC14 device. The input of the 74LS14 tends to load down the oscillating signal from the QUART, to the point that the Schmitt Trigger inverter can no longer change state or respond to the oscillator signal. 9. XR82C684 D.2 Bit Rate Generator 5' * 3 )2% )( 2 % ''% (( , * %'( ('( , ' '6 %(, * 44 ' & % ' ('( ( % ,( , * 9 % 4@ 6% Please note that the BRGs will only generate these standard bit rates if the Oscillator Circuit is running at 3.6864 MHz (for the bit rates presented in Table 15) or running at 7.3728 MHz (for the bit rates presented in Table 15A). The actual clock frequencies output from the BRGs are at 16 times these rates. % ' %' * 3 (** %% * ( %# , * )2 (% %'( (% & %( , '( , PBQ PBQ (%( , * % %% * )( %# * )2# (% % ( (%'%%( * '6 ' ,(%% % ( Section D.5 '6 (, * )2 '('(& * (% )# * (% ! % ( Figure 31 Figure 31# %'(& PB7@Q 47 8 8 P47Q PBQ 47 8 8-<= 8 %'( ('( )( 2 % ) )PB7@Q 8 47 8 8) )P47Q 47 8 8) Figure 31. Block Diagram of the Bit Rate Generator portion of the Timing Control Block, for Channels A and B 9B XR82C684 PB7@Q 47 8 8 P47Q PBQ 47 8 8-<= 8 %'( ('( )( 2 % ! !PB7@Q 8 47 8 8! !P47Q 47 8 8! Figure 31A. Block Diagram of the Bit Rate Generator portion of the Timing Control Block, for Channels C and D D.3 Counter/Timers (( , ) '6 % ' ( % 3 . ( -(% -D -D 5' - (% , . ( 3 ' 3(' ' % * % (( , % '% % (% ( Figure 32 Figure 32A % % '6 (, * '('(& % ( , -D -D# %'(& %'( * % (( , % '% * -(% D D ' & 3(( , ( P.7@Q P.7@Q# %'(& Please see 4 and 4 for the relationship between the Counter/Timer mode, the Timing Source and ACR[6:4] for Counter/Timers #1 and #2, respectively. - # * -%# (% ( '6 ' ,(%% * % % , ( , * * %(% '(% Please note that the QUARTs, packaged in the 44 pin PLCC have limited options in regards to Timing Source, as depicted in Table 13 and Table 13A. 90 XR82C684 %'( ('( +% ,(%% # < !(( & . 47 8% $+ !(( & . 8 8) ( D -GG!H +4 P@.Q Figure 32. A Block Diagram of the Circuitry Associated with Counter/Timer #1 %'( ('( +% ,(%% # < !(( & . 47 8% $+ !(( & . 8 8! ( D -GG!H + P@.Q Figure 32A. A Block Diagram of the Circuitry Associated with Counter/Timer #2 9 XR82C684 Bit 6 Bit 5 Bit 4 C/T Mode Timing Source 5" $ $+ ( ( ( ( 8 8 '6 * %( 8) 8 '6 * ) %( 5" $ $+ 5" $ $+# !(( & . 8-<= $ 8-<= $ !(( & . 3(' ( ' '6 ( % * ' % * -( ,(%%# < - ' % % , ( , ( ' .8 ' '6 * & ( ( & )2 %I3# (,( ( , * -D (% + ( # +4 E%# %I3# (,( ( , * -D (% + ( # + $* - (% , ( ( # *I '& * %( , - %I 3 ' "%% % * 3%7 - I '& L Frequency of Selected Timing Source T PCTURQ T 0 + PCTLRQ 8-<= $ !(( & . Note: The "shaded" options are only available in the 68 pin PLCC. Table 13. ACR1[6:4] Bit Field Definition - C/T#1 37 P Q L ' % * ,(% ( '( * Bit 6 Bit 5 Bit 4 C/T Mode ( ( ( ( Timing Source 5" $ $+ 8 8 '6 * %( 8! 8 '6 * ! %( 8-<= $ !(( & . 5" $ $+ 5" $ $+# !(( & . 8-<= $ 8-<= $ !(( & . P % * < ,(% ( |
Price & Availability of XR82C684CJ |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |